Commit 0f3d8b9e authored by 杨奕's avatar 杨奕

Update tree.md

parent 79d1ff06
...@@ -393,11 +393,11 @@ Used for node selection. In the following example, data for each layer is acquir ...@@ -393,11 +393,11 @@ Used for node selection. In the following example, data for each layer is acquir
``` ```
::: :::
### Can disable checkbox ### Disabled checkbox
The checkbox of a node can be set as disabled. In the example, 'disabled' property is declared in defaultProps, and some nodes are set as 'disabled:true'. The corresponding checkbox is disabled and can't be clicked. The checkbox of a node can be set as disabled.
::: demo ::: demo In the example, 'disabled' property is declared in defaultProps, and some nodes are set as 'disabled:true'. The corresponding checkboxes are disabled and can't be clicked.
```html ```html
<el-tree <el-tree
:data="data3" :data="data3"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment