mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
15 lines
372 B
TypeScript
15 lines
372 B
TypeScript
import { Router, NavigationGuard } from 'vue-router';
|
|
|
|
export interface AccessBuildConfig {
|
|
access: {
|
|
rules: Record<string, []>;
|
|
};
|
|
}
|
|
|
|
export interface AccessRuntimeConfig {
|
|
access: {
|
|
noFoundHandler: (param: { router: Router } & NavigationGuard) => void;
|
|
unAccessHandler: (param: { router: Router } & NavigationGuard) => void;
|
|
};
|
|
}
|