Преглед изворни кода

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);
     }