mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-05 19:41:57 +08:00
fix(plugin-access): 修复 useAccess 类型定义 (#206)
This commit is contained in:
parent
617a36e461
commit
7c6c662837
2
packages/fes-plugin-access/types.d.ts
vendored
2
packages/fes-plugin-access/types.d.ts
vendored
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user