watch fix
This commit is contained in:
parent
c4b88fae41
commit
7cd2bf2319
|
@ -134,7 +134,7 @@ watch(storeData, async (val) => {
|
|||
for (let n of state.get('Tree')) {
|
||||
await fetchNodeLeaves(n);
|
||||
}
|
||||
expanded.value = [null];
|
||||
expanded.value = [null, ...fetchedNodeKeys];
|
||||
}
|
||||
previousExpandedNodes.value = new Set(expanded.value);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue