Source/ProjectWeb/src/router/avue-router.js
@@ -90,7 +90,7 @@ * first: 为了区分外界 调用formatRoutes 和 当前文件调用 formatRoutes */ formatRoutes: function (aMenu = [], first) { debugger; // debugger; const aRouter = [] // 获取到全局配置中的 props const propsConfig = this.$website.menu.props; @@ -118,8 +118,7 @@ } })(), //特殊处理组件 执行完这个 component 也就是精确到具体的文件了 views文件夹下面就是具体的页面代码 //component = 'views' + oMenu.path, component = oMenu.path, component = 'views' + path, name = oMenu[propsDefault.label], icon = oMenu[propsDefault.icon], children = oMenu[propsDefault.children],