heyujie
2022-07-18 1a783e0a2068b1a99efb7a078f4a615f68dec18f
src/views/connectUs/components/consult.vue
@@ -107,13 +107,11 @@
    },
    //获取验证码
    getCode() {
      let loginName = JSON.parse(sessionStorage.getItem("userInfo")).username;
      this.codeDisabled = true;
      this.getValidStr();
      this.timer = setInterval(this.getValidStr, 1000);
      getVerifyCode({
        phoneNum: this.formData.phoneNum,
        username: loginName,
      }).then(() => {
        this.gotCode = true;
      });