Commit d58728130d52be27e1305314b94cc1637b00fc06
1 parent
1a6b8f6e
fix:DEFECT-658 账号已过期去登录时未弹出提示框,401
Showing
1 changed file
with
4 additions
and
0 deletions
| @@ -119,6 +119,10 @@ | @@ -119,6 +119,10 @@ | ||
| 119 | //登录失败如果是502,返回的html,那么提示框什么都没有 | 119 | //登录失败如果是502,返回的html,那么提示框什么都没有 |
| 120 | if (data.message == 'Invalid username or password' && typeof data.message == 'string') { | 120 | if (data.message == 'Invalid username or password' && typeof data.message == 'string') { |
| 121 | createMessage.error(data.message); | 121 | createMessage.error(data.message); |
| 122 | + } else if (data.message == '账号已过期,请联系管理员') { | ||
| 123 | + createMessage.error(data.message); | ||
| 124 | + } else { | ||
| 125 | + createMessage.error(data.message); | ||
| 122 | } | 126 | } |
| 123 | }); | 127 | }); |
| 124 | if (userInfo) { | 128 | if (userInfo) { |