|
@ -258,18 +258,15 @@ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
console.log('登陆res',res) |
|
|
console.log('登陆res',res) |
|
|
try{ |
|
|
const msg = await PassWordApi.validateResetTime(res.userId) |
|
|
await PassWordApi.validateResetTime(res.userId) |
|
|
if(msg){ |
|
|
}catch (e) { |
|
|
await ElMessageBox.alert( |
|
|
if (e.code === 1002000010) { |
|
|
'<strong>'+msg+'</strong>', |
|
|
await ElMessageBox.alert( |
|
|
'重要提示', |
|
|
'<strong>密码长时间未修改,存在安全隐患,请及时修改</strong>', |
|
|
{ |
|
|
'重要提示', |
|
|
dangerouslyUseHTMLString: true, |
|
|
{ |
|
|
} |
|
|
dangerouslyUseHTMLString: true, |
|
|
) |
|
|
} |
|
|
|
|
|
) |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
if (!res) { |
|
|
if (!res) { |
|
|
console.log('登录-195') |
|
|
console.log('登录-195') |
|
|