Commit 21563b87 authored by XieZhiXiong's avatar XieZhiXiong

chore: 修改提示隐藏逻辑

parent 49ff5e2f
...@@ -40,12 +40,13 @@ const Roles: React.FC = () => { ...@@ -40,12 +40,13 @@ const Roles: React.FC = () => {
if (res.code !== 1000) { if (res.code !== 1000) {
return; return;
} }
msg();
setAuth(res.data); setAuth(res.data);
setRouters(res.data.urls); setRouters(res.data.urls);
setTimeout(() => { setTimeout(() => {
window.location.replace('/memberCenter/home'); window.location.replace('/memberCenter/home');
}, 800); }, 800);
}).finally(() => {
msg();
}); });
}; };
......
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