Commit 1221b817 by zhangzhen

细节优化

parent 0cc12cb3
...@@ -164,6 +164,7 @@ ...@@ -164,6 +164,7 @@
icon:"none", icon:"none",
title:"请输入兑换码或扫码兑换" title:"请输入兑换码或扫码兑换"
}) })
this.submitStatus = true;
return return
} }
this.qrCode = this.code.split(" ").join("") this.qrCode = this.code.split(" ").join("")
...@@ -235,7 +236,7 @@ ...@@ -235,7 +236,7 @@
icon:"success", icon:"success",
title:"核验成功", title:"核验成功",
success: () => { success: () => {
this.submitStatus = true; that.submitStatus = true;
setTimeout(()=>{ setTimeout(()=>{
if(that.orderPage){ if(that.orderPage){
that.eventChannel.emit('acceptData', {data: true}); that.eventChannel.emit('acceptData', {data: true});
...@@ -256,7 +257,7 @@ ...@@ -256,7 +257,7 @@
} }
}) })
}else{ }else{
this.submitStatus = true; that.submitStatus = true;
uni.showToast({ uni.showToast({
icon:"none", icon:"none",
title:res.data.msg, title:res.data.msg,
......
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