lijinlong^2
杜函宇 1 year ago
parent f06f6c7eb5
commit 15d595320c

@ -127,7 +127,7 @@ export const loadView = (view) => {
return (resolve) => require([`@/views/${view}`], resolve)
} else {
// 使用 import 实现生产环境的路由懒加载
return () => import(`@/views/${view}`)
return (resolve) => require([`@/views/${view}`], resolve)
}
}

Loading…
Cancel
Save