fix(plugin-access): 修复 useAccess 类型定义 (#206)

This commit is contained in:
izumiiAoba 2023-08-14 10:27:34 +08:00 committed by GitHub
parent cf9e7618a9
commit 302e7a0142

View File

@ -9,7 +9,7 @@ export const access: {
getAccess(): string[]; getAccess(): string[];
}; };
export function useAccess(accessId: Array<string | number>): Ref<boolean>; export function useAccess(accessId: string | number): Ref<boolean>;
interface CustomNavigationGuardOption { interface CustomNavigationGuardOption {
router: Router; router: Router;