mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 15:41:32 +08:00
fix: fix win system dynamicImport error
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// The content here is just for type approval. The actual file content is overwritten by transform
|
||||
export default function (id: string) {
|
||||
const dynamicImportModule: any = id;
|
||||
return dynamicImportModule;
|
||||
|
@@ -53,7 +53,6 @@ export function genRouteModule(moduleList: AppRouteModule[]) {
|
||||
}
|
||||
|
||||
// 动态引入
|
||||
// TODO 错误写法
|
||||
function asyncImportRoute(routes: AppRouteRecordRaw[] | undefined) {
|
||||
if (!routes) return;
|
||||
routes.forEach((item) => {
|
||||
|
Reference in New Issue
Block a user