Ver código fonte

refactor(auth): 移除调试日志

zhangtao 1 dia atrás
pai
commit
6ad379bc82
1 arquivos alterados com 0 adições e 2 exclusões
  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) {
       return false;
     }
-    console.log(authStore.userInfo, 'authStore');
-
     if (typeof codes === 'string') {
       return authStore.userInfo.perms.includes(codes);
     }