From 6e0b91856f203efc197b320b7a16b771016c9137 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Thu, 21 Sep 2023 16:00:13 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-3207=20fix=EF=BC=9A=E7=BC=96=E8=BE=91=20Cha?= =?UTF-8?q?rt=20=E6=97=B6=EF=BC=8CToolTip=20=E5=BC=80=E5=85=B3=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E6=97=A0=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/common/rightBox/chart/chartRightBox.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nezha-fronted/src/components/common/rightBox/chart/chartRightBox.vue b/nezha-fronted/src/components/common/rightBox/chart/chartRightBox.vue index 6691ee057..5dc3362da 100644 --- a/nezha-fronted/src/components/common/rightBox/chart/chartRightBox.vue +++ b/nezha-fronted/src/components/common/rightBox/chart/chartRightBox.vue @@ -731,6 +731,12 @@ export default { delete item.chartId }) } + if (obj.param && (!obj.param.tooltip || !obj.param.tooltip.mode)) { + obj.param.tooltip = { + mode: 'all', + sort: 'none' + } + } this.editChart = this.$lodash.cloneDeep(obj) this.oldData = this.$lodash.cloneDeep(obj) if (this.stableTime) {