From 9fc79d7b7e699c6034ece8a227699b24d8b69964 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=93=B2=E9=93=9C?= <9490856+zhangzhetong@user.noreply.gitee.com> Date: Thu, 9 Oct 2025 15:33:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=99=BB=E5=BD=95=E5=89=8D=E5=8B=BE?= =?UTF-8?q?=E9=80=89=E9=98=85=E8=AF=BB=E7=94=A8=E6=88=B7=E5=8D=8F=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/auth/AuthForm.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/components/auth/AuthForm.vue b/src/components/auth/AuthForm.vue index 898f1ab..db64d04 100644 --- a/src/components/auth/AuthForm.vue +++ b/src/components/auth/AuthForm.vue @@ -63,6 +63,14 @@ function validateLoginForm() { return false } + if (!agreed.value) { + uni.showToast({ + title: '请先同意用户协议', + icon: 'none', + }) + return false + } + return true }