소스 검색

feat: 地图数据管理添加配置路径

wu.jian2 1 년 전
부모
커밋
d4a15511b7
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      data-room-ui/packages/js/utils/registerConfig.js

+ 2 - 2
data-room-ui/packages/js/utils/registerConfig.js

@@ -73,7 +73,7 @@ function registerRouters (config, router) {
           }
         },
         {
-          path: '/big-screen-map-data',
+          path: config?.routers?.mapData || '/big-screen-map-data',
           component: () => import('data-room-ui/MapDataManagement'),
           meta: {
             title: '地图数据管理'
@@ -110,7 +110,7 @@ function registerRouters (config, router) {
     {
       path: '/dataRoom-redirect',
       name: 'Redirect',
-      component: () =>import('data-room-ui/Layout/Redirect/index.vue'),
+      component: () => import('data-room-ui/Layout/Redirect/index.vue')
     },
     {
       path: config?.routers?.bizComponentDesignUrl || '/big-screen-biz-component-design',