feat(trigger): add trigger config

This commit is contained in:
vben
2020-11-06 22:41:00 +08:00
parent 58f988a718
commit 4f6b65b8a1
22 changed files with 255 additions and 68 deletions

View File

@@ -42,6 +42,7 @@ export function genRouteModule(moduleList: AppRouteModule[]) {
}
// 动态引入
// TODO 错误写法
function asyncImportRoute(routes: AppRouteRecordRaw[]) {
routes.forEach((item) => {
let { component } = item;