2022-03-28 20:17:54 +08:00

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;
};
}