src/views/login/index.vue @@ -147,7 +147,6 @@ }, ...mapActions(["login"]), handleLogin() { debugger; // 登录函数中验证验证码是否正确:统一转换为小写 if (this.loginForm.validCode.toLowerCase() !== this.validCode.toLowerCase()) { this.$message.error("验证码错误");