Skip to content

Commit

Permalink
fix: #850
Browse files Browse the repository at this point in the history
  • Loading branch information
solarjoker committed Dec 31, 2019
1 parent 63345e5 commit d373824
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/tree/TreeNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ class TreeNode extends Component {
editNodes: editNodes.filter(node => node.id !== itemId),
editingNodes: editingNodes.filter(node => node.id !== itemId)
})
const node = findNode(itemId, dataCache)
const node = findNode(itemId, _dataCache)
this.props.onSave(node, _dataCache)
}
// 删除拖动的节点
Expand Down

0 comments on commit d373824

Please sign in to comment.