From 9250006beedb6d88e2800719849d45b7d0db3a58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E8=90=8C?= <525441437@qq.com> Date: Mon, 22 Jan 2024 15:54:30 +0800 Subject: [PATCH] 1 --- src/assets/js/charts.js | 3 +++ src/views/page/LED.vue | 13 +++++++------ src/views/page/circulationCan.vue | 6 +++--- src/views/page/electromagneticControl.vue | 8 ++++---- 4 files changed, 17 insertions(+), 13 deletions(-) diff --git a/src/assets/js/charts.js b/src/assets/js/charts.js index b68e596..0fe55af 100644 --- a/src/assets/js/charts.js +++ b/src/assets/js/charts.js @@ -1,4 +1,5 @@ import * as echarts from "echarts"; +import { h } from "vue"; export function realTimeLine(id, data) { var chartDom = document.getElementById(id); @@ -236,9 +237,11 @@ export function realTimeLine(id, data) { top:10, itemGap: 10, width:'90%', + height:20, textStyle: { fontSize: 12, color: "#fff", + lineHeight: 30, }, pageTextStyle: { color: '#fff', // 设置翻页文字颜色 diff --git a/src/views/page/LED.vue b/src/views/page/LED.vue index 927a526..2a82a5e 100644 --- a/src/views/page/LED.vue +++ b/src/views/page/LED.vue @@ -54,24 +54,24 @@