|
@@ -34,7 +34,7 @@ export default {
|
|
["cugr.ecs.qmth.com.cn", "ecs-dev.qmth.com.cn"].includes(
|
|
["cugr.ecs.qmth.com.cn", "ecs-dev.qmth.com.cn"].includes(
|
|
localStorage.getItem("domain")
|
|
localStorage.getItem("domain")
|
|
) &&
|
|
) &&
|
|
- !localStorage.getItem("phoneVerified")
|
|
|
|
|
|
+ !localStorage.getItem("phoneVerified:" + this.user.phoneNumber)
|
|
) {
|
|
) {
|
|
this.phoneModal = true;
|
|
this.phoneModal = true;
|
|
}
|
|
}
|
|
@@ -59,7 +59,7 @@ export default {
|
|
);
|
|
);
|
|
if (res.data.success) {
|
|
if (res.data.success) {
|
|
this.phoneModal = false;
|
|
this.phoneModal = false;
|
|
- localStorage.setItem("phoneVerified", "true");
|
|
|
|
|
|
+ localStorage.setItem("phoneVerified:" + this.user.phoneNumber, "true");
|
|
} else {
|
|
} else {
|
|
this.$Message.error(res.data.returnMsg);
|
|
this.$Message.error(res.data.returnMsg);
|
|
}
|
|
}
|