From b916295a8e96cc6c10ff53d2f37a961a285f78e3 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Mon, 16 May 2022 13:59:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A4=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mods/extra/AppAuth/AppAuth.vue | 22 +++++++++--------- .../AppHelpDeclaration/AppHelpDeclaration.vue | 23 +++++++++++++++---- 2 files changed, 30 insertions(+), 15 deletions(-) diff --git a/src/mods/extra/AppAuth/AppAuth.vue b/src/mods/extra/AppAuth/AppAuth.vue index 61ba143..910fbb6 100644 --- a/src/mods/extra/AppAuth/AppAuth.vue +++ b/src/mods/extra/AppAuth/AppAuth.vue @@ -36,23 +36,20 @@ export default { }; }, onLoad() { - let {status} = this.user - if (status == 2) { - uni.redirectTo({url: "./authInfo"}) - } else if (status == 0) { - //停留此页 - } else { - uni.redirectTo({url: "./authSuccess"}) - } + // let {status} = this.user + // if (status == 2) { + // uni.redirectTo({url: "./authInfo"}) + // } else if (status == 0) { + // //停留此页 + // } else { + // uni.redirectTo({url: "./authSuccess"}) + // } }, methods: { toAgreement() { 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 @@