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/, '')