소스 검색

修改隐私协议用户协议

zs 1 년 전
부모
커밋
1bcc6de8ae
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      pages/register/index.vue

+ 1 - 1
pages/register/index.vue

@@ -172,7 +172,7 @@
 			submit(ref) {
 				const that = this;
 				that.$refs[ref].validate().then(async params => {
-					if (agree) {
+					if (that.agree) {
 						that.form.create_time = moment().format('YYYY-MM-DD HH:mm:ss');
 						const res = await that.$api(`/User`, 'POST', that.form);
 						if (res.errcode == '0') {