Skip to content

Commit

Permalink
fix(plugin-access): 修复 useAccess 类型定义
Browse files Browse the repository at this point in the history
  • Loading branch information
1zumii committed Aug 13, 2023
1 parent 617a36e commit b0be6bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fes-plugin-access/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b0be6bd

Please sign in to comment.