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

Merge pull request !145 from Mr.Z/tmp_1025
Foming 1 year ago committed by Gitee
commit 86ed336886
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -122,7 +122,11 @@ export default {
this.$emit("change", params); this.$emit("change", params);
}, },
selectParams(val, key) { selectParams(val, key) {
this.chartProperties[key] = val; if (!val) {
delete this.chartProperties[key]
} else {
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