From 9963bc4c12532468c1fcc03bee07b3458732c534 Mon Sep 17 00:00:00 2001 From: zyh Date: Thu, 28 Mar 2024 10:19:53 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-3431=20fix:=20=E6=97=B6=E5=BA=8F=E5=9B=BE?= =?UTF-8?q?=E8=A1=A8=20=E6=9C=AA=E9=87=87=E9=9B=86=E5=88=B0=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=97=B6=20=E6=98=BE=E7=A4=BA=E4=B8=8E=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E4=B8=8D=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/chart/chart/uplot/chartTimeSeriesMixin.js | 1 + nezha-fronted/src/components/chart/chartDetailNew.vue | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/nezha-fronted/src/components/chart/chart/uplot/chartTimeSeriesMixin.js b/nezha-fronted/src/components/chart/chart/uplot/chartTimeSeriesMixin.js index ac7f6efa5..9896a11b7 100644 --- a/nezha-fronted/src/components/chart/chart/uplot/chartTimeSeriesMixin.js +++ b/nezha-fronted/src/components/chart/chart/uplot/chartTimeSeriesMixin.js @@ -151,6 +151,7 @@ export default { // 设置图表颜色 const chartType = item.yAxisIndex == 1 ? lodash.get(this.chartInfo, 'param.rightYAxis.style', 'line') : this.chartInfo.type item.stroke = color + item.spanGaps = this.chartInfo.param.nullType != 'null' if (chartType === 'area') { // 使用 tinycolor 转换为十六进制 const hexColor = tinycolor(color).toHexString() diff --git a/nezha-fronted/src/components/chart/chartDetailNew.vue b/nezha-fronted/src/components/chart/chartDetailNew.vue index 40f96c7eb..d2b452425 100644 --- a/nezha-fronted/src/components/chart/chartDetailNew.vue +++ b/nezha-fronted/src/components/chart/chartDetailNew.vue @@ -39,7 +39,8 @@
{{$t('asset.cpu')}} - {{chartDetail.feature.cpu.name}} * {{chartDetail.feature.cpu.physicalPackageCount}} + {{chartDetail.feature.cpu.name}} + * {{chartDetail.feature.cpu.physicalPackageCount}}