Skip to content

Commit

Permalink
feat: update comment and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ChuChencheng committed Jun 26, 2024
1 parent 0aaedc7 commit dfb4bfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
```

Expand Down
2 changes: 1 addition & 1 deletion src/store/tree-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ export default class TreeStore extends TreeEventTarget {
)
this.insertIntoFlatData(flatIndex, nodes)

// 更新被移除处父节点状态
// 更新插入节点父节点状态
this.updateMovingNodeStatus(node)
}

Expand Down

0 comments on commit dfb4bfd

Please sign in to comment.