From bd3b854df7beac464a94e33b69b5fd9d21d0f97a Mon Sep 17 00:00:00 2001 From: tinyu Date: Thu, 28 Mar 2024 14:13:18 +0800 Subject: [PATCH] Auto Commit --- package.json | 1 + src/components/ganttchart/index.vue | 53 +++++++++++++++++++ src/router/routes.js | 2 +- .../{GanttChart.vue => GanttChartDemo.vue} | 7 ++- vue.config.js | 10 ++++ yarn.lock | 19 +++++++ 6 files changed, 89 insertions(+), 3 deletions(-) create mode 100644 src/components/ganttchart/index.vue rename src/views/Echarts/{GanttChart.vue => GanttChartDemo.vue} (57%) diff --git a/package.json b/package.json index cd449de..5b73ba5 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "core-js": "^3.8.3", "echarts": "^5.5.0", "element-ui": "^2.15.14", + "less-loader": "5.0.0", "vue": "^2.6.14", "vue-router": "3" }, diff --git a/src/components/ganttchart/index.vue b/src/components/ganttchart/index.vue new file mode 100644 index 0000000..5cdeb3b --- /dev/null +++ b/src/components/ganttchart/index.vue @@ -0,0 +1,53 @@ + + + \ No newline at end of file diff --git a/src/router/routes.js b/src/router/routes.js index eec74ce..38ae652 100644 --- a/src/router/routes.js +++ b/src/router/routes.js @@ -27,7 +27,7 @@ export default [ path:'gantt', name:'Gantt', meta:{title:'甘特图'}, - component:() => import('@/views/Echarts/GanttChart.vue') + component:() => import('@/views/Echarts/GanttChartDemo.vue') } ] } diff --git a/src/views/Echarts/GanttChart.vue b/src/views/Echarts/GanttChartDemo.vue similarity index 57% rename from src/views/Echarts/GanttChart.vue rename to src/views/Echarts/GanttChartDemo.vue index f7799d4..e0aecac 100644 --- a/src/views/Echarts/GanttChart.vue +++ b/src/views/Echarts/GanttChartDemo.vue @@ -1,11 +1,14 @@