22 lines
848 B
TypeScript
Raw Normal View History

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