Update tree.md

pull/5962/head
杨奕 2017-07-20 14:42:43 +08:00
parent 79d1ff06f6
commit 0f3d8b9e02
1 changed files with 3 additions and 3 deletions

View File

@ -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"