|
@@ -72,7 +72,6 @@ export default {
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
},
|
|
|
onShow() {
|
|
|
this.isInitializeLogin(render.bind(this))
|
|
@@ -131,8 +130,8 @@ export default {
|
|
|
content: s.msg == '成功' ? '绑定成功' : s.msg,
|
|
|
showCancel: false,
|
|
|
success: function () {
|
|
|
- that.$Login.wechatLogin().then(() => uni.reLaunch({
|
|
|
- url: '/pages/index/index'
|
|
|
+ if (s.msg == '成功') that.$Login.wechatLogin().then(() => uni.reLaunch({
|
|
|
+ url: '/pages/index/index?q=""'
|
|
|
}))
|
|
|
}
|
|
|
});
|
|
@@ -162,8 +161,8 @@ export default {
|
|
|
content: s.msg == '成功' ? '绑定成功' : s.msg,
|
|
|
showCancel: false,
|
|
|
success: function () {
|
|
|
- that.$Login.wechatLogin().then(() => uni.reLaunch({
|
|
|
- url: '/pages/index/index'
|
|
|
+ if (s.msg == '成功') that.$Login.wechatLogin().then(() => uni.reLaunch({
|
|
|
+ url: '/pages/index/index?q=""'
|
|
|
}))
|
|
|
}
|
|
|
});
|