Преглед на файлове

refactor(auth): 移除调试日志

zhangtao преди 2 дни
родител
ревизия
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) {
       return false;
     }
-    console.log(authStore.userInfo, 'authStore');
-
     if (typeof codes === 'string') {
       return authStore.userInfo.perms.includes(codes);
     }