Commit ca850146 authored by 华国豪's avatar 华国豪 🙄

no message

parent fbc93743
...@@ -267,7 +267,7 @@ export default { ...@@ -267,7 +267,7 @@ export default {
this.$forceUpdate() this.$forceUpdate()
}, },
saveOrder(){ saveOrder(){
if(!this.customer){ if(!this.customer || !localStorage.userInfo){
return this.$message.error('请登录!') return this.$message.error('请登录!')
} }
if(this.chosenObj.startDate==''){ if(this.chosenObj.startDate==''){
......
...@@ -378,7 +378,7 @@ export default { ...@@ -378,7 +378,7 @@ export default {
this.$forceUpdate() this.$forceUpdate()
}, },
saveOrder(){ saveOrder(){
if(!this.customer){ if(!this.customer || !localStorage.userInfo){
return this.$message.error('请登录!') return this.$message.error('请登录!')
} }
if(this.chosenObj.startDate==''){ if(this.chosenObj.startDate==''){
......
...@@ -334,7 +334,7 @@ ...@@ -334,7 +334,7 @@
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
<div class="no-login" v-if="!this.customer"> <div class="no-login" v-if="!this.customer || !localStorage.userInfo">
需要你登录以后才能预定哦!登录后还能享受更加优惠的价格,<span class="link" @click="goLogin">立即登录吧</span> 需要你登录以后才能预定哦!登录后还能享受更加优惠的价格,<span class="link" @click="goLogin">立即登录吧</span>
</div> </div>
</div> </div>
...@@ -715,7 +715,7 @@ export default { ...@@ -715,7 +715,7 @@ export default {
this.$forceUpdate() this.$forceUpdate()
}, },
saveOrder(){ saveOrder(){
if(!this.customer){ if(!this.customer || !localStorage.userInfo){
return this.$message.error('请登录!') return this.$message.error('请登录!')
} }
if(this.chosenObj.startDate==''){ if(this.chosenObj.startDate==''){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment