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;