浏览代码

客户让去掉修改密码提示

natasha 1 年之前
父节点
当前提交
2c26c0c152
共有 1 个文件被更改,包括 22 次插入22 次删除
  1. 22 22
      src/components/login/login.vue

+ 22 - 22
src/components/login/login.vue

@@ -406,28 +406,28 @@ export default {
           let isShare = this.$route.query.temporary_link
             ? decodeURIComponent(this.$route.query.temporary_link)
             : "";
-          if (
-            res.last_update_password_days >=
-              res.sys_recommend_password_update_days &&
-            !isShare
-          ) {
-            this.changeEmailTips(res.last_update_password_days);
-          } else {
-            this.$message.success(this.$t("Key442"));
-            setI18nLang(this.language_type).then(() => {
-              if (isShare) {
-                location.href = isShare;
-              } else if (
-                res.popedom_code_list.indexOf(2000001) > -1 ||
-                res.user_type == "STUDENT"
-              ) {
-                this.$message.warning(this.$t("Key247") + "....");
-                location.href = `/GCLS-Learn/#/EnterSys`;
-              } else {
-                this.getChildSysList();
-              }
-            });
-          }
+          // if (
+          //   res.last_update_password_days >=
+          //     res.sys_recommend_password_update_days &&
+          //   !isShare
+          // ) {
+          //   this.changeEmailTips(res.last_update_password_days);
+          // } else {
+          this.$message.success(this.$t("Key442"));
+          setI18nLang(this.language_type).then(() => {
+            if (isShare) {
+              location.href = isShare;
+            } else if (
+              res.popedom_code_list.indexOf(2000001) > -1 ||
+              res.user_type == "STUDENT"
+            ) {
+              this.$message.warning(this.$t("Key247") + "....");
+              location.href = `/GCLS-Learn/#/EnterSys`;
+            } else {
+              this.getChildSysList();
+            }
+          });
+          // }
         })
         .catch((err) => {
           this.isLogin = false;