This commit is contained in:
Iruka 2025-01-21 20:27:32 +08:00
parent 1930ff8966
commit 50ce0a313c

View File

@ -54,7 +54,6 @@
<u-checkbox-group placement="row" v-model="checkboxGroup">
<u-checkbox name="reading1" />
<text class="text-blue" @click="handleUserAgrement">用户协议</text>
<u-checkbox name="reading2" />
<text class="text-blue" @click="handlePrivacy">隐私协议</text>
</u-checkbox-group>
</view>
@ -254,7 +253,7 @@
//
async function handleLogin() {
if (checkboxGroup.value.length < 2) {
if (!checkboxGroup.value.length) {
proxy.$toast("请先阅读并同意《用户协议》与《隐私协议》");
return;
}