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

This commit is contained in:
izumiiAoba 2023-08-14 10:27:34 +08:00 committed by GitHub
parent 617a36e461
commit 7c6c662837
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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