.
This commit is contained in:
parent
1930ff8966
commit
50ce0a313c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user