diff --git a/components/tree/demo/contextmenu.md b/components/tree/demo/contextmenu.md
index 34e30ba22f..5b3304866c 100644
--- a/components/tree/demo/contextmenu.md
+++ b/components/tree/demo/contextmenu.md
@@ -1,8 +1,8 @@
-# 基本
+# 右键菜单
- order: 0
-最简单的用法。
+右键菜单示例
---
diff --git a/components/tree/demo/draggable.md b/components/tree/demo/draggable.md
index c81d90f52f..78bee3d42f 100644
--- a/components/tree/demo/draggable.md
+++ b/components/tree/demo/draggable.md
@@ -45,15 +45,15 @@ const Demo = React.createClass({
expandedKeys: ['0-0', '0-0-0', '0-0-0-0'],
};
},
- onTreeDragStart() {
+ onDragStart() {
},
- onTreeDragEnter(info) {
+ onDragEnter(info) {
// console.log(info);
this.setState({
expandedKeys: info.expandedKeys,
});
},
- onTreeDrop(info) {
+ onDrop(info) {
console.log(info);
const dropKey = info.node.props.eventKey;
const dragKey = info.dragNode.props.eventKey;
@@ -108,9 +108,9 @@ const Demo = React.createClass({
drag a node into another node
+ onDragStart={this.onDragStart}
+ onDragEnter={this.onDragEnter}
+ onDrop={this.onDrop}>
{loop(this.state.gData)}
diff --git a/components/tree/index.md b/components/tree/index.md
index ed225df163..a2fde0a6a5 100644
--- a/components/tree/index.md
+++ b/components/tree/index.md
@@ -32,11 +32,11 @@
|loadData | 异步加载数据 | function(node)| - |
|onRightClick | 显示右键菜单 | function({event,node}) | - |
|draggable | 设置节点可拖拽(IE>8) | bool | false |
-|onTreeDragStart | 开始拖拽时调用 | function({event,node}) | - |
-|onTreeDragEnter | dragenter 触发时调用 | function({event,node,expandedKeys}) | - |
-|onTreeDragOver | dragover 触发时调用 | function({event,node}) | - |
-|onTreeDragLeave | dragleave 触发时调用 | function({event,node}) | - |
-|onTreeDrop | drop 触发时调用 | function({event, node, dragNode, dragNodesKeys}) | - |
+|onDragStart | 开始拖拽时调用 | function({event,node}) | - |
+|onDragEnter | dragenter 触发时调用 | function({event,node,expandedKeys}) | - |
+|onDragOver | dragover 触发时调用 | function({event,node}) | - |
+|onDragLeave | dragleave 触发时调用 | function({event,node}) | - |
+|onDrop | drop 触发时调用 | function({event, node, dragNode, dragNodesKeys}) | - |
### TreeNode props
diff --git a/package.json b/package.json
index 99502d35d0..35d80f4458 100644
--- a/package.json
+++ b/package.json
@@ -61,7 +61,7 @@
"rc-tabs": "~5.6.0",
"rc-time-picker": "~1.0.0",
"rc-tooltip": "~3.3.0",
- "rc-tree": "^0.25.3",
+ "rc-tree": "~0.26.1",
"rc-tree-select": "^0.3.3",
"rc-trigger": "~1.0.6",
"rc-upload": "~1.7.0",