diff --git a/pages/ucenter/login-page/register/register.vue b/pages/ucenter/login-page/register/register.vue
index f97e146517e2f9293958d1e32767edbcce5b00fc..092f1c59a882e683b75dfd71dc2a6c35558fa528 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
})