fix remove node observer and check on the result of getNode (#43)

* check removed node and its parent before collect

* add more more checks on the result of getNode
This commit is contained in:
yz-yu
2026-04-01 12:00:00 +08:00
committed by GitHub
parent 7e337d4f4e
commit ca61d6b19e
4 changed files with 41 additions and 36 deletions

View File

@@ -2194,10 +2194,6 @@ exports[`select2 1`] = `
{
\\"parentId\\": 25,
\\"id\\": 36
},
{
\\"parentId\\": 45,
\\"id\\": 46
}
],
\\"adds\\": [