fix: 用户密码即将到期不提示

This commit is contained in:
feng
2023-03-15 16:19:25 +08:00
parent 4e89c8d53f
commit 139a47b858

View File

@@ -24,7 +24,7 @@ export default {
]), ]),
expireMsg() { expireMsg() {
// 用户来源不是Local时不显示密码过期提示 // 用户来源不是Local时不显示密码过期提示
if (this.currentUser.source !== 'local') { if (this.currentUser.source.value !== 'local') {
return false return false
} }
const intervalTime = this.getIntervalDays(this.currentUser.date_password_last_updated) const intervalTime = this.getIntervalDays(this.currentUser.date_password_last_updated)