WXL
2026-09-17 3df460667d74868d0a54fce12d5e881bbd6c0c1a
src/store/modules/permission.js
@@ -61,6 +61,11 @@
      route.children = filterChildren(route.children)
    }
    if (route.component) {
      // 记录原始组件路径,供布局层判断所属模块(business/project 等)
      if (typeof route.component === 'string') {
        route.meta = route.meta || {};
        route.meta.componentPath = route.component; // 例如 "business/assess/index"
      }
      // Layout ParentView 组件特殊处理
      if (route.component === 'Layout') {
        route.component = Layout