fix: 登录前勾选阅读用户协议
continuous-integration/drone/push Build is passing Details

This commit is contained in:
张哲铜 2025-10-09 15:33:29 +08:00
parent 115d118d42
commit 9fc79d7b7e
1 changed files with 8 additions and 0 deletions

View File

@ -63,6 +63,14 @@ function validateLoginForm() {
return false
}
if (!agreed.value) {
uni.showToast({
title: '请先同意用户协议',
icon: 'none',
})
return false
}
return true
}