diff --git a/src/mods/extra/AppAuth/AppAuth.vue b/src/mods/extra/AppAuth/AppAuth.vue index 61ba143..b0a5428 100644 --- a/src/mods/extra/AppAuth/AppAuth.vue +++ b/src/mods/extra/AppAuth/AppAuth.vue @@ -50,9 +50,6 @@ export default { uni.navigateTo({url: "./agreement"}) }, confirm() { - if(this.isChecked == flase) { - return this.$u.toast('请勾选用户服务及隐私协议') - } let {name, idNumber} = this if (!name) { return this.$u.toast('请填写姓名') @@ -64,6 +61,9 @@ export default { if (!this.$idCardNoUtil.checkIdCardNo(idNumber)) { return this.$u.toast('请输入正确的身份证号码') } + if(!this.isChecked) { + return this.$u.toast('请勾选用户服务及隐私协议') + } this.$instance.post(`/app/appwechatuser/idNumberAttestation`, { idNumber, name }).then(res => { diff --git a/src/mods/work/AppHelpDeclaration/AppHelpDeclaration.vue b/src/mods/work/AppHelpDeclaration/AppHelpDeclaration.vue index 752de5c..deb8714 100644 --- a/src/mods/work/AppHelpDeclaration/AppHelpDeclaration.vue +++ b/src/mods/work/AppHelpDeclaration/AppHelpDeclaration.vue @@ -1,6 +1,6 @@