hookehuyr

fix

...@@ -6,7 +6,7 @@ import routes from "../mock/routes" ...@@ -6,7 +6,7 @@ import routes from "../mock/routes"
6 6
7 // 根据后台返回的路径,生成页面的组件模版 7 // 根据后台返回的路径,生成页面的组件模版
8 function loadView(component) { 8 function loadView(component) {
9 - return () => import(`/@/views/${component}.vue`) 9 + return () => import(`../views/${component}.vue`)
10 } 10 }
11 11
12 const formatRoutesArr = [] 12 const formatRoutesArr = []
......