From 0a14e3ac414c1ae096d945dd3c37f0aa28c263d1 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Tue, 4 Apr 2023 17:44:05 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-2748=20fix=EF=BC=9A=E5=B0=86chart-Group?= =?UTF-8?q?=E4=B8=8B=E6=96=B9=E5=B7=B2=E5=AD=98=E5=9C=A8=E7=9A=84=20chart?= =?UTF-8?q?=20=E4=BF=AE=E6=94=B9=E5=88=B0=20=E7=A9=BA=E7=9A=84=20chart-Gro?= =?UTF-8?q?up=20=E4=BC=9A=E5=87=BA=E7=8E=B0=E9=94=99=E4=BD=8D=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/common/rightBox/chart/chartRightBox.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nezha-fronted/src/components/common/rightBox/chart/chartRightBox.vue b/nezha-fronted/src/components/common/rightBox/chart/chartRightBox.vue index 4e3a63e17..ebd77c1e9 100644 --- a/nezha-fronted/src/components/common/rightBox/chart/chartRightBox.vue +++ b/nezha-fronted/src/components/common/rightBox/chart/chartRightBox.vue @@ -276,6 +276,10 @@ export default { params.y += 1 resetFlag = true } + if (params.groupId) { // group 内部坐标不能包含小数 + params.x = parseInt(params.x) + params.y = parseInt(params.y) + } delete params.panel if (params.type === 'table') { delete params.param.tags