zhou zhou
19 小时以前 28c6a76ead9b65a0b5861d70f0838ef2a46f5c45
rsf-design/src/router/adapters/backendMenuAdapter.js
@@ -19,6 +19,7 @@
  fieldsItem: '/system/fields-item',
  whMat: '/basic-info/wh-mat',
  matnr: '/basic-info/wh-mat',
  matnrPrintTemplate: '/basic-info/matnr-print-template',
  matnrGroup: '/basic-info/matnr-group',
  locType: '/basic-info/loc-type',
  taskPathTemplate: '/basic-info/task-path-template',
@@ -171,7 +172,7 @@
    return null
  }
  const path = resolvePath(node, { component, isFirstLevel, hasChildren, rawRoute })
  const path = resolvePath(node, { component, isFirstLevel, rawRoute })
  const meta = buildMeta(node)
  const adapted = {
    id: normalizeId(node.id),
@@ -211,7 +212,7 @@
  return PHASE_1_COMPONENTS[normalizedKey] || normalizeComponentPath(fullRoutePath)
}
function resolvePath(node, { component, isFirstLevel, hasChildren, rawRoute }) {
function resolvePath(node, { component, isFirstLevel, rawRoute }) {
  if (rawRoute) {
    if (!isFirstLevel && rawRoute.startsWith('/')) {
      return normalizeComponentPath(rawRoute)