Commit d47c108346832e340f71f008cec044777c7d508d
1 parent
6955fa8e
fix:DEFECT-586 修复PC端登录页面,错误弹窗什么都没有
Showing
1 changed file
with
3 additions
and
1 deletions
| @@ -116,7 +116,9 @@ | @@ -116,7 +116,9 @@ | ||
| 116 | mode: 'modal', //不要默认的错误提示 | 116 | mode: 'modal', //不要默认的错误提示 |
| 117 | }) | 117 | }) |
| 118 | .catch((data) => { | 118 | .catch((data) => { |
| 119 | - createMessage.error(data.message); | 119 | + //登录失败返回的html,所以提示框什么都没有 |
| 120 | + //去掉提示框 | ||
| 121 | + // createMessage.error(data.message); | ||
| 120 | }); | 122 | }); |
| 121 | if (userInfo) { | 123 | if (userInfo) { |
| 122 | notification.success({ | 124 | notification.success({ |