解决已知问题
This commit is contained in:
@@ -54,9 +54,7 @@ export default () => {
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
if (store.role.id) {
|
||||
getRouteList(store.role.id);
|
||||
}
|
||||
if (store.role.id) getRouteList(store.role.id)
|
||||
}, [store]);
|
||||
|
||||
if (isLoginRoute) {
|
||||
@@ -66,7 +64,7 @@ export default () => {
|
||||
path="/login"
|
||||
element={
|
||||
<>
|
||||
<PageTitle title="Calendar | TailAdmin - Tailwind CSS Admin Dashboard Template" />
|
||||
<PageTitle title="Thrive | 现代化博客管理系统" />
|
||||
<Login />
|
||||
</>
|
||||
}
|
||||
|
||||
@@ -116,6 +116,9 @@ const RolePage = () => {
|
||||
|
||||
message.success('🎉 绑定成功');
|
||||
setIsModalOpen(false)
|
||||
|
||||
// 刷新页面
|
||||
window.location.reload()
|
||||
}
|
||||
|
||||
// 让n改变 触发Transfer重新渲染
|
||||
|
||||
Reference in New Issue
Block a user