!145 bugfix--数据集响应结果与图表属性对应关系修改时去除无关的对应属性

Merge pull request !145 from Mr.Z/tmp_1025
This commit is contained in:
Foming
2023-10-26 08:05:14 +00:00
committed by Gitee

View File

@@ -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;