diff --git a/README.md b/README.md index b60903b..2f0b573 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ npm install @wsfe/vue-tree ```typescript // 大家可以根据需要是否引入VTreeNode, VTreeSearch, VTreeDrop -import Vtree, { VTreeNode, VTreeSearch, VTreeDrop } from '@wsfe/vue-tree' +import VTree, { VTreeNode, VTreeSearch, VTreeDrop } from '@wsfe/vue-tree' import '@wsfe/vue-tree/style.css' ``` diff --git a/src/store/tree-store.ts b/src/store/tree-store.ts index dc3397b..79e5d60 100644 --- a/src/store/tree-store.ts +++ b/src/store/tree-store.ts @@ -872,7 +872,7 @@ export default class TreeStore extends TreeEventTarget { ) this.insertIntoFlatData(flatIndex, nodes) - // 更新被移除处父节点状态 + // 更新插入节点父节点状态 this.updateMovingNodeStatus(node) }