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

Mr.Z 1 year ago
parent adefc9b9d7
commit ef2824a9e3

@ -122,7 +122,11 @@ export default {
this.$emit("change", params); this.$emit("change", params);
}, },
selectParams(val, key) { selectParams(val, key) {
if (!val) {
delete this.chartProperties[key]
} else {
this.chartProperties[key] = val; this.chartProperties[key] = val;
}
}, },
getDictKey() { getDictKey() {
return this.dictKey == null ? "CHART_PROPERTIES" : this.dictKey; return this.dictKey == null ? "CHART_PROPERTIES" : this.dictKey;

Loading…
Cancel
Save