heyujie
2022-04-22 4707139df757e848b8746f9d7dcb837cdf5d78c3
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;
            })