Commit 21563b87 authored by XieZhiXiong's avatar XieZhiXiong

chore: 修改提示隐藏逻辑

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