1
0
mirror of synced 2025-12-08 06:26:46 +08:00

大屏修改

This commit is contained in:
qianlishi
2021-06-29 14:48:54 +08:00
parent 515e87583f
commit d1646b926d

View File

@@ -585,12 +585,12 @@ export default {
widgetValueChanged(key, val) {
if (this.screenCode == "screen") {
this.dashboard = this.deepClone(val);
}
for (let i = 0; i < this.widgets.length; i++) {
if (this.widgetIndex == i) {
this.widgets[i].value[key] = this.deepClone(val);
this.setDefaultValue(this.widgets[i].options[key], val);
} else {
for (let i = 0; i < this.widgets.length; i++) {
if (this.widgetIndex == i) {
this.widgets[i].value[key] = this.deepClone(val);
this.setDefaultValue(this.widgets[i].options[key], val);
}
}
}
},