Эх сурвалжийг харах

refactor(auth): 移除调试日志

zhangtao 2 өдөр өмнө
parent
commit
6ad379bc82

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