jdcProject_front/src/config/async-route.ts

22 lines
823 B
TypeScript
Raw Normal View History

/** 动态路由配置 */
interface AsyncRouteSettings {
/**
*
* 1. roles
* 2. open: false
*/
open: boolean
/**
* 1. 访
* 2.
*/
defaultRoles: Array<string>
}
const asyncRouteSettings: AsyncRouteSettings = {
open: true,
defaultRoles: ["DEFAULT_ROLE"]
}
export default asyncRouteSettings