diff --git a/src/components/getMsgCode.vue b/src/components/getMsgCode.vue index 8ed04194..0d809550 100644 --- a/src/components/getMsgCode.vue +++ b/src/components/getMsgCode.vue @@ -47,7 +47,7 @@ export default { // this.canuse = res.canuse // if(res.canuse){ if (!this.imgCode) { - this.$message.error("请输入验证码!"); //发送失败,请输入图形验证码 + this.$message.error("请输入验证码"); //发送失败,请输入图形验证码 return; } //发送请求 diff --git a/src/views/home/login_v3.vue b/src/views/home/login_v3.vue index 51fbe0ba..2d3c24ae 100644 --- a/src/views/home/login_v3.vue +++ b/src/views/home/login_v3.vue @@ -109,6 +109,7 @@ @@ -184,11 +185,7 @@ /> - +
- +
@@ -779,9 +782,9 @@ export default { this.getDetail(this.headquartersSnData); this.getData(); this.getImgCodeLogin(); - if (window.localStorage.getItem("imageCodeFlag")) { - this.imageCodeFlag = window.localStorage.getItem("imageCodeFlag"); - } + // if (window.localStorage.getItem("imageCodeFlag")) { + // this.imageCodeFlag = window.localStorage.getItem("imageCodeFlag"); + // } } }, mounted() { @@ -1186,19 +1189,19 @@ export default { } else { this.imageCodeFlag = res.code; } - if (this.imageCodeFlag == 3006) { - localStorage.setItem( - "imageCodeFlag", - JSON.stringify(this.imageCodeFlag) - ); - } + // if (this.imageCodeFlag == 3006) { + // localStorage.setItem( + // "imageCodeFlag", + // JSON.stringify(this.imageCodeFlag) + // ); + // } this.getImgCodeLogin(); this.$message.error(res.message); return; } - if (window.localStorage.getItem("imageCodeFlag")) { - window.localStorage.removeItem("imageCodeFlag"); - } + // if (window.localStorage.getItem("imageCodeFlag")) { + // window.localStorage.removeItem("imageCodeFlag"); + // } //用户登录安全等保 if (res.result.expire) { this.addPasswordDialog = true;