Commit 395f4681 by hxx

协议 fix

parent 01e2c50a
......@@ -510,7 +510,9 @@ export default {
this.unionId = res.data.data.unionId || '';
this.sessionId = res.data.data.sessionId || '';
this.tempData = res.data.data;
if(this.content&&!this.checked&&!res.data.data.isHaveUnion) {
if(this.content&&!this.checked) {
// 第一次注册
if (!res.data.data.isHaveUnion) {
let text = '';
if (this.userAgreement && this.privacyPolicy) {
text = `《${this.userAgreement.agreementName}》和《${this.privacyPolicy.agreementName}》`;
......@@ -531,8 +533,15 @@ export default {
}
}
})
} else {
wx.showToast({
title: '您还未同意协议',
icon: "none"
});
}
return;
}
this.handleSuccess();
}).catch(err => {
wx.hideLoading();
log.info("err", err);
......
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