From 1481e54c92414cdda4abb40c6dd8fb9f4d2a48dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Thu, 8 Jun 2023 17:57:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/GPS/car/index.vue | 10 ++++++++-- ruoyi-ui/vite.config.js | 4 ++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ruoyi-ui/src/views/GPS/car/index.vue b/ruoyi-ui/src/views/GPS/car/index.vue index 2de19de..becee9e 100644 --- a/ruoyi-ui/src/views/GPS/car/index.vue +++ b/ruoyi-ui/src/views/GPS/car/index.vue @@ -141,6 +141,12 @@ function getList() { bottom: '3%', containLabel: true }, + dataZoom:[ + { + type: 'inside', + + } + ], xAxis: [ { type: "category", @@ -165,9 +171,9 @@ function getList() { }, { type: 'value', - name: '花纹深度', + name: '速度', axisLabel: { - formatter: '{value} mm' + formatter: '{value} km/h' } } ], diff --git a/ruoyi-ui/vite.config.js b/ruoyi-ui/vite.config.js index f7daf09..c06b2cf 100644 --- a/ruoyi-ui/vite.config.js +++ b/ruoyi-ui/vite.config.js @@ -34,9 +34,9 @@ export default defineConfig(({mode, command}) => { // open: true, proxy: { '/dev-api': { - target: 'https://ticptest.tercelo.com/dev-api', + // target: 'https://ticptest.tercelo.com/dev-api', // target: 'http://47.94.93.46/dev-api', - // target: 'http://10.11.41.249:8080', + target: 'http://10.11.41.249:8080', // target: 'http://localhost:8080', changeOrigin: true, rewrite: (p) => p.replace(/^\/dev-api/, '')