解决已知问题

This commit is contained in:
宇阳
2024-08-18 22:55:30 +08:00
parent ba29073084
commit 7c20b45eda
2 changed files with 5 additions and 4 deletions

View File

@@ -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 />
</>
}

View File

@@ -116,6 +116,9 @@ const RolePage = () => {
message.success('🎉 绑定成功');
setIsModalOpen(false)
// 刷新页面
window.location.reload()
}
// 让n改变 触发Transfer重新渲染