ソースを参照

refactor(auth): 移除调试日志

zhangtao 1 日 前
コミット
6ad379bc82
1 ファイル変更0 行追加2 行削除
  1. 0 2
      src/hooks/business/auth.ts

+ 0 - 2
src/hooks/business/auth.ts

@@ -7,8 +7,6 @@ export function useAuth() {
     if (!authStore.isLogin) {
     if (!authStore.isLogin) {
       return false;
       return false;
     }
     }
-    console.log(authStore.userInfo, 'authStore');
-
     if (typeof codes === 'string') {
     if (typeof codes === 'string') {
       return authStore.userInfo.perms.includes(codes);
       return authStore.userInfo.perms.includes(codes);
     }
     }