diff --git a/src/router/modules/chart.route.ts b/src/router/modules/chart.route.ts index 345afff5..7c173b8e 100644 --- a/src/router/modules/chart.route.ts +++ b/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 } } diff --git a/src/views/chart/components/ContentDrag/index.ts b/src/views/chart/components/ContentDrag/index.ts new file mode 100644 index 00000000..08a77860 --- /dev/null +++ b/src/views/chart/components/ContentDrag/index.ts @@ -0,0 +1,3 @@ +import ContentDrag from './index.vue' + +export { ContentDrag } diff --git a/src/views/chart/components/ContentDraw/index.vue b/src/views/chart/components/ContentDrag/index.vue similarity index 100% rename from src/views/chart/components/ContentDraw/index.vue rename to src/views/chart/components/ContentDrag/index.vue diff --git a/src/views/chart/components/ContentDraw/index.ts b/src/views/chart/components/ContentDraw/index.ts deleted file mode 100644 index af0391af..00000000 --- a/src/views/chart/components/ContentDraw/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -import ContentDraw from './index.vue' - -export { ContentDraw } diff --git a/src/views/chart/index.vue b/src/views/chart/index.vue index 70404fdd..9d3a2808 100644 --- a/src/views/chart/index.vue +++ b/src/views/chart/index.vue @@ -15,7 +15,7 @@ - + @@ -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'