浏览代码

fix: 修改拖拽区域名称

MTrun 3 年之前
父节点
当前提交
67b613dabf

+ 1 - 1
src/router/modules/chart.route.ts

@@ -11,7 +11,7 @@ const chartRoutes: RouteRecordRaw = {
   name: ChartEnum.CHART_HOME_NAME,
   component: importPath['ChartEnum.CHART_HOME_NAME'],
   meta: {
-    title: '图表',
+    title: '工作空间',
     isRoot: true
   }
 }

+ 3 - 0
src/views/chart/components/ContentDrag/index.ts

@@ -0,0 +1,3 @@
+import ContentDrag from './index.vue'
+
+export { ContentDrag }

+ 0 - 0
src/views/chart/components/ContentDraw/index.vue → src/views/chart/components/ContentDrag/index.vue


+ 0 - 3
src/views/chart/components/ContentDraw/index.ts

@@ -1,3 +0,0 @@
-import ContentDraw from './index.vue'
-
-export { ContentDraw }

+ 2 - 2
src/views/chart/index.vue

@@ -15,7 +15,7 @@
       <n-layout-content content-style="overflow:hidden; display: flex">
         <ContentCharts />
         <ContentLayers />
-        <ContentDraw />
+        <ContentDrag />
         <ContentDetails />
       </n-layout-content>
     </n-layout>
@@ -29,7 +29,7 @@ import { HeaderRightBtn } from './components/HeaderRightBtn/index'
 import { HeaderTitle } from './components/HeaderTitle/index'
 import { ContentLayers } from './components/ContentLayers/index'
 import { ContentCharts } from './components/ContentCharts/index'
-import { ContentDraw } from './components/ContentDraw/index'
+import { ContentDrag } from './components/ContentDrag/index'
 import { ContentDetails } from './components/ContentDetails/index'
 </script>