src/views/register/components/BaseInfo.vue
@@ -82,7 +82,7 @@ import { validUser, validPassword, isPhone } from "@/scripts/validate"; // 正则文件 import { register, getVerifyCode, makeVerifyCode, // getAreas, // getDic, // entireUserInfo, @@ -204,7 +204,7 @@ this.codeDisabled = true; this.getValidStr(); this.timer = setInterval(this.getValidStr, 1000); getVerifyCode({ phoneNum: this.user.phoneNum, type: 1 }) makeVerifyCode({ phoneNum: this.user.phoneNum, type: 1 }) .then(() => { this.gotCode = true; })