opt: fix proxy handler use target directly
This commit is contained in:
@@ -385,7 +385,7 @@ export class Group extends Superview {
|
||||
set: (target, index, value) => {
|
||||
const ret = Reflect.set(target, index, value);
|
||||
// Let getDirty return true
|
||||
this.dirtyProps.children = this.children.map(e => e.viewId);
|
||||
this.dirtyProps.children = target.map(e => e.viewId);
|
||||
return ret;
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user