Commit d491d4d4 authored by 张烨's avatar 张烨

fix: 初始进来报错

parent 3f460a87
......@@ -345,7 +345,7 @@ const UserManage = () => {
// 在currentUser变化后获取
useEffect(() => {
if (currentUser) {
if (currentUser && currentUser.userID) {
getRoleList();
}
}, [currentUser]);
......
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