heyujie
2022-05-05 c7ec9e17f6e48335912bad1c07df56ba8eb8f662
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, type:0 })
            .then(() => {
              this.gotCode = true;
            })