Commit f22973b2 authored by youjie's avatar youjie

修复

parent dbc1a7d9
...@@ -46,7 +46,6 @@ export default { ...@@ -46,7 +46,6 @@ export default {
}, },
], ],
current:0, current:0,
currentObj: null,
guestInfor: null, guestInfor: null,
showLogin: false, showLogin: false,
} }
...@@ -59,14 +58,15 @@ export default { ...@@ -59,14 +58,15 @@ export default {
// 更新手机号 // 更新手机号
setPhone(){ setPhone(){
if(this.guestInfor.code==0&&this.guestInfor.IsEnd==0){ if(this.guestInfor.code==0&&this.guestInfor.IsEnd==0){
if(this.showLogin) return;
if(this.msg.TCID==''||this.msg.HPSLOpenId==''|| if(this.msg.TCID==''||this.msg.HPSLOpenId==''||
this.msg.Unoinid==''||this.msg.Phone==''||this.msg.Id==''){ this.msg.Unoinid==''||this.msg.Phone==''||this.msg.Id==''){
this.showLogin = false;
return uni.showToast({ return uni.showToast({
title: '信息不完善,请稍后再试', title: '信息不完善,请稍后再试',
icon: 'none' icon: 'none'
}) })
} }
this.showLogin = true;
this.apipost("post_UpdateOrderGuest",this.msg,res => { this.apipost("post_UpdateOrderGuest",this.msg,res => {
if (res.resultCode == 1) { if (res.resultCode == 1) {
this.showLogin = false; this.showLogin = false;
......
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