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