fix: tree view parentId parsing

fix: #1156
This commit is contained in:
windingwind 2024-10-11 10:50:50 +02:00
parent d85d27f589
commit ef1bbe1d73

View File

@ -412,7 +412,7 @@
? expandedStatus[node.model.name]
: node.model.level < expandLevel,
parentId:
node.parent.model.id > 0
node.parent.model.id !== -1
? String(node.parent.model.id)
: undefined,
});