state: array value prop changes fix fix
This commit is contained in:
parent
23495616f4
commit
122367fba2
1 changed files with 2 additions and 2 deletions
|
|
@ -140,7 +140,7 @@ var StateManager = class StateManager {
|
|||
for (let id in this.valueStateQueue) {
|
||||
if (this.valueStateQueue[id] !== undefined) {
|
||||
for (let w of widgetManager.getWidgetById(id)) {
|
||||
if (w.setValue) w.setValue(this.valueStateQueue[id])
|
||||
w.setValue(this.valueStateQueue[id])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -148,7 +148,7 @@ var StateManager = class StateManager {
|
|||
for (let id in this.valueNewPropQueue) {
|
||||
if (this.valueNewPropQueue[id] != this.valueOldPropQueue[id]) {
|
||||
for (let w of widgetManager.getWidgetById(id)) {
|
||||
if (w.setValue) w.setValue(this.valueNewPropQueue[id], {sync: true})
|
||||
w.setValue(w.getProp('value'), {sync: true})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue