state: handle array-value case when checking for "value" prop update
This commit is contained in:
parent
b87dd8a242
commit
23495616f4
1 changed files with 2 additions and 2 deletions
|
|
@ -128,11 +128,11 @@ var StateManager = class StateManager {
|
|||
}
|
||||
|
||||
pushValueOldProp(id, value) {
|
||||
this.valueOldPropQueue[id] = value
|
||||
this.valueOldPropQueue[id] = typeof value == 'object' ? JSON.stringify(value) : value
|
||||
}
|
||||
|
||||
pushValueNewProp(id, value) {
|
||||
this.valueNewPropQueue[id] = value
|
||||
this.valueNewPropQueue[id] = typeof value == 'object' ? JSON.stringify(value) : value
|
||||
if (this.queueCounter == 0) this.flush()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue