From ef2824a9e3f2257589bba9c19e457e084d179a28 Mon Sep 17 00:00:00 2001 From: "Mr.Z" Date: Wed, 25 Oct 2023 11:09:02 +0800 Subject: [PATCH] =?UTF-8?q?bugfix--=E6=95=B0=E6=8D=AE=E9=9B=86=E5=93=8D?= =?UTF-8?q?=E5=BA=94=E7=BB=93=E6=9E=9C=E4=B8=8E=E5=9B=BE=E8=A1=A8=E5=B1=9E?= =?UTF-8?q?=E6=80=A7=E5=AF=B9=E5=BA=94=E5=85=B3=E7=B3=BB=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=97=B6=E5=8E=BB=E9=99=A4=E6=97=A0=E5=85=B3=E7=9A=84=E5=AF=B9?= =?UTF-8?q?=E5=BA=94=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../designer/components/dynamicComponents.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/report-ui/src/views/bigscreenDesigner/designer/components/dynamicComponents.vue b/report-ui/src/views/bigscreenDesigner/designer/components/dynamicComponents.vue index 84310260..1fffe713 100644 --- a/report-ui/src/views/bigscreenDesigner/designer/components/dynamicComponents.vue +++ b/report-ui/src/views/bigscreenDesigner/designer/components/dynamicComponents.vue @@ -122,7 +122,11 @@ export default { this.$emit("change", params); }, selectParams(val, key) { - this.chartProperties[key] = val; + if (!val) { + delete this.chartProperties[key] + } else { + this.chartProperties[key] = val; + } }, getDictKey() { return this.dictKey == null ? "CHART_PROPERTIES" : this.dictKey;