bill 1 year ago
parent
commit
28b7bb2510
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/store/system.ts

+ 1 - 1
src/store/system.ts

@@ -30,7 +30,7 @@ export const login = async (props: LoginProps) => {
 };
 
 if (user.value.token) {
-  await refreshRole();
+  refreshRole();
 }
 
 export const uploadFile = async (file: File) => {