From 059147df30a2e5ac3ac2716ef0ec9c9e3fc5a162 Mon Sep 17 00:00:00 2001 From: wisonic-s Date: Wed, 8 May 2024 15:47:21 +0800 Subject: [PATCH 1/2] =?UTF-8?q?refactor(=E8=A7=86=E5=9B=BE):=20=E9=92=BB?= =?UTF-8?q?=E5=8F=96=E8=B7=AF=E5=BE=84=E9=95=BF=E5=BA=A6=E9=99=90=E5=88=B6?= =?UTF-8?q?=E4=B8=BA120px?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/frontend/src/views/chart/view/DrillPath.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/frontend/src/views/chart/view/DrillPath.vue b/core/frontend/src/views/chart/view/DrillPath.vue index 053645ba59..671a466862 100644 --- a/core/frontend/src/views/chart/view/DrillPath.vue +++ b/core/frontend/src/views/chart/view/DrillPath.vue @@ -16,7 +16,10 @@ class="drill-item" @click.native="drillJump(index + 1)" > - {{ filter.value[0] }} + {{ filter.value[0] }} @@ -97,6 +100,8 @@ export default { margin: 0!important; } .drill-item{ + max-width: 120px; + overflow: hidden; cursor: pointer; } From 29fa7cdad6438c1807301667155591c6db1c32d3 Mon Sep 17 00:00:00 2001 From: wisonic-s Date: Wed, 8 May 2024 15:47:28 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix(=E8=A7=86=E5=9B=BE):=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E7=BC=96=E8=BE=91=E5=8D=95=E4=B8=AA=E6=8C=87=E6=A0=87?= =?UTF-8?q?=E7=9A=84=E6=95=B0=E5=80=BC=E6=A0=BC=E5=BC=8F=E5=8C=96=E6=97=B6?= =?UTF-8?q?=E5=85=B6=E4=BB=96=E6=8C=87=E6=A0=87=E4=B9=9F=E5=8F=97=E5=BD=B1?= =?UTF-8?q?=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) {