fix batch update
This commit is contained in:
parent
bfe0f1255a
commit
f416413b7e
|
@ -15,6 +15,10 @@ class VirtualListStore extends Store {
|
|||
batch[subKey] = value
|
||||
|
||||
requestAnimationFrame(() => {
|
||||
let batch = this._batches[key]
|
||||
if (!batch) {
|
||||
return
|
||||
}
|
||||
let updatedKeys = Object.keys(batch)
|
||||
if (!updatedKeys.length) {
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue