Commit 27241fc3 authored by 涂伟's avatar 涂伟

fix: '验证码重置逻辑优化'

parent 04638389
Pipeline #93980 passed with stages
...@@ -98,11 +98,11 @@ const Login = props => { ...@@ -98,11 +98,11 @@ const Login = props => {
message: msg || '没有权限!', message: msg || '没有权限!',
}); });
} }
window.myGlobalHandError(); window.myGlobalHandError && window.myGlobalHandError();
setLoading(false); setLoading(false);
}) })
.catch(e => { .catch(e => {
window.myGlobalHandError(); window.myGlobalHandError && window.myGlobalHandError();
setLoading(false); setLoading(false);
notification.error({ notification.error({
message: e.message || '没有权限!', message: e.message || '没有权限!',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment