@@ -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') {