代码规范性调整

This commit is contained in:
蒋吉兆
2021-09-21 17:55:18 +08:00
parent 51e26a00a4
commit 2c06ca34c0
19 changed files with 32 additions and 33 deletions

View File

@@ -1,7 +1,7 @@
const modules = import.meta.glob('../view/**/*.vue')
export const asyncRouterHandle = (asyncRouter) => {
asyncRouter.map(item => {
asyncRouter.forEach(item => {
if (item.component) {
item.component = dynamicImport(modules, item.component)
} else {