Fixed an Array type bug in Store

This commit is contained in:
Brian Vaughn
2019-01-30 11:31:13 -08:00
parent a60c8e139a
commit 6d37857df3
+1 -1
View File
@@ -234,7 +234,7 @@ export default class Store extends EventEmitter {
debug('Re-order', `fiber ${id} children ${children.join(',')}`);
element = ((this._idToElement.get(id): any): Element);
element.children = children;
element.children = Array.from(children);
const prevWeight = element.weight;
let childWeight = 0;