From 29fa7cdad6438c1807301667155591c6db1c32d3 Mon Sep 17 00:00:00 2001 From: wisonic-s Date: Wed, 8 May 2024 15:47:28 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=A7=86=E5=9B=BE):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=8D=95=E4=B8=AA=E6=8C=87=E6=A0=87=E7=9A=84?= =?UTF-8?q?=E6=95=B0=E5=80=BC=E6=A0=BC=E5=BC=8F=E5=8C=96=E6=97=B6=E5=85=B6?= =?UTF-8?q?=E4=BB=96=E6=8C=87=E6=A0=87=E4=B9=9F=E5=8F=97=E5=BD=B1=E5=93=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/frontend/src/views/chart/view/ChartEdit.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/frontend/src/views/chart/view/ChartEdit.vue b/core/frontend/src/views/chart/view/ChartEdit.vue index a78498f7d4..4141ffed15 100644 --- a/core/frontend/src/views/chart/view/ChartEdit.vue +++ b/core/frontend/src/views/chart/view/ChartEdit.vue @@ -3715,7 +3715,7 @@ export default { this.showValueFormatter = false }, saveValueFormatter() { - const formatterItem = _.cloneDeep(this.valueFormatterItem) + const formatterItem = JSON.parse(JSON.stringify(this.valueFormatterItem)) const formatterCfg = formatterItem.formatterCfg const ele = formatterCfg.decimalCount if (ele === undefined || ele.toString().indexOf('.') > -1 || parseInt(ele).toString() === 'NaN' || parseInt(ele) < 0 || parseInt(ele) > 10) {