|
|
@@ -225,12 +225,12 @@ export default {
|
|
|
this.currentTab = this.$route.name;
|
|
|
this.getMenus();
|
|
|
|
|
|
- let pwdUpdateAt = this.userInfo.pwdUpdateAt;
|
|
|
- if (!pwdUpdateAt || isBefore(parse(pwdUpdateAt, 'yyyy-MM-dd HH:mm:ss', new Date()), addDays(new Date(), -30))) {
|
|
|
- this.$alert('您已30天未修改密码,请尽快修改密码', '提示').then(() => {
|
|
|
- this.onShowPwdDialog();
|
|
|
- });
|
|
|
- }
|
|
|
+ // let pwdUpdateAt = this.userInfo.pwdUpdateAt;
|
|
|
+ // if (!pwdUpdateAt || isBefore(parse(pwdUpdateAt, 'yyyy-MM-dd HH:mm:ss', new Date()), addDays(new Date(), -30))) {
|
|
|
+ // this.$alert('您已30天未修改密码,请尽快修改密码', '提示').then(() => {
|
|
|
+ // this.onShowPwdDialog();
|
|
|
+ // });
|
|
|
+ // }
|
|
|
},
|
|
|
data() {
|
|
|
return {
|