src/views/login/components/loginForm.vue
@@ -107,7 +107,7 @@ import { tologin, getLoginUserData, getVerifyCode, makeVerifyCode, getMenuPermission, } from "@/api/login"; import { isPhone } from "@/scripts/validate"; @@ -239,7 +239,7 @@ this.codeDisabled = true; this.getValidStr(); this.timer = setInterval(this.getValidStr, 1000); getVerifyCode({ phoneNum: this.phone.phoneNum }) makeVerifyCode({ phoneNum: this.phone.phoneNum }) .then(() => { this.gotCode = true; })