Переглянути джерело

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',