From 8488acef0f297afbae8955d9996bdeb44d2885d4 Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Fri, 6 Sep 2024 13:20:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/login/login.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pages/login/login.vue b/pages/login/login.vue index 92a935c..3837591 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -59,6 +59,12 @@ methods: { wxLogin(){ + if(!this.checkboxValue.length){ + return uni.showToast({ + title: '请先同意隐私协议', + icon:'none' + }) + } this.$store.commit('login') },