refactor: add node map to store all tree node by tree key, improve speed add and delete node

refactor: improve speed of load all tree node
This commit is contained in:
tiny-craft
2023-07-07 02:23:33 +08:00
parent 9cd0d34c5d
commit f85b381992
4 changed files with 141 additions and 111 deletions

View File

@@ -323,7 +323,6 @@ const handleDrop = ({ node, dragNode, dropPosition }) => {
:cancelable="false"
:draggable="true"
:data="connectionStore.connections"
:expand-on-click="true"
:expanded-keys="expandedKeys"
@update:selected-keys="onUpdateSelectedKeys"
:node-props="nodeProps"