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
cf9e7618a9
commit
302e7a0142
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[];
|
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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user