chore: Format files
This commit is contained in:
parent
4de52d8b6e
commit
04b12cc423
|
@ -61,18 +61,21 @@ export function getOrCreateChildRNode(node: RProxyNode<any>, key: string | symbo
|
|||
// root: node.root,
|
||||
// });
|
||||
|
||||
child = new RProxyNode(() => {
|
||||
child = new RProxyNode(
|
||||
() => {
|
||||
const rootRNode = getRootRNode(node);
|
||||
// 依赖根
|
||||
rootRNode.get();
|
||||
|
||||
return getRNodeVal(node)[key];
|
||||
}, {
|
||||
},
|
||||
{
|
||||
isComputed: true,
|
||||
parent: node,
|
||||
key: key,
|
||||
root: node.root,
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
child.track();
|
||||
|
|
Loading…
Reference in New Issue