From f1095194c3367a3865cd790f838a0c5e64201d60 Mon Sep 17 00:00:00 2001 From: linju-json Date: Fri, 14 May 2021 15:47:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=B4=A6=E6=88=B7=E6=B3=A8?= =?UTF-8?q?=E5=86=8C=E9=A1=B5=E9=9D=A2=E4=B8=8D=E5=8B=BE=E9=80=89=E9=9A=90?= =?UTF-8?q?=E7=A7=81=E6=94=BF=E7=AD=96=E5=8D=8F=E8=AE=AE=E4=B9=9F=E8=83=BD?= =?UTF-8?q?=E6=88=90=E5=8A=9F=E6=B3=A8=E5=86=8C=E5=B9=B6=E7=99=BB=E9=99=86?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/ucenter/login-page/register/register.vue | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/pages/ucenter/login-page/register/register.vue b/pages/ucenter/login-page/register/register.vue index f97e1465..092f1c59 100644 --- a/pages/ucenter/login-page/register/register.vue +++ b/pages/ucenter/login-page/register/register.vue @@ -13,7 +13,7 @@ - + @@ -32,7 +32,8 @@ import mixin from '../common/login-page.mixin.js'; 'password':'', 'pwd2':'' }, - rules + rules, + agree:false } }, onReady() { @@ -42,7 +43,13 @@ import mixin from '../common/login-page.mixin.js'; /** * 触发表单提交 */ - submit() { + submit() { + if(!this.agree){ + return uni.showToast({ + title: '你未同意隐私政策协议', + icon: 'none' + }); + } uni.showLoading({ mask: true }) -- GitLab