From 4249fc2df615f15ddce3c0bc4cdf8dd5bf1e7712 Mon Sep 17 00:00:00 2001 From: betaqi <3188864257@qq.com> Date: Tue, 9 Dec 2025 15:10:22 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20readme=20=E6=9B=B4=E6=96=B0=20=E5=9B=BE?= =?UTF-8?q?=E8=A1=A8=E5=B0=BA=E5=AF=B8=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 23 ++++++------------- .../stationData/component/newDataChart.vue | 4 ++-- 2 files changed, 9 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index aa29b3e..aa6c786 100644 --- a/README.md +++ b/README.md @@ -1,32 +1,23 @@ -# vue-project +# EMU数据迁移平台 -This template should help get you started developing with Vue 3 in Vite. +## 推荐的IDE设置 -## Recommended IDE Setup +[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) ( +and disable Vetur). -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur). - -## Type Support for `.vue` Imports in TS - -TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) to make the TypeScript language service aware of `.vue` types. - -## Customize configuration - -See [Vite Configuration Reference](https://vite.dev/config/). - -## Project Setup +## 项目依赖安装(Project Setup) ```sh npm install ``` -### Compile and Hot-Reload for Development +### 本地开发服务器(Compile and Hot-Reload for Development) ```sh npm run dev ``` -### Type-Check, Compile and Minify for Production +### 生产环境构建(Compile and Minify for Production) ```sh npm run build diff --git a/src/views/stationData/component/newDataChart.vue b/src/views/stationData/component/newDataChart.vue index 236a697..c69dd27 100644 --- a/src/views/stationData/component/newDataChart.vue +++ b/src/views/stationData/component/newDataChart.vue @@ -192,7 +192,7 @@ const chartOption = computed(() => { left: 60, right: 198, top: '5%', - bottom: `25%`, + bottom: `10%`, }, tooltip: { trigger: 'axis', @@ -342,7 +342,7 @@ const chartOption = computed(() => { start: startPercent, end: endPercent, height: ZOOM_HEIGHT, - bottom: '20%', + bottom: '4%', borderColor: '#88abf5', dataBackground: { lineStyle: { color: '#d2dbee' } }, selectedDataBackground: { lineStyle: { color: '#2c6cf7' } },