docs(tree-select): fix checkbox demo (#620)

* docs(treeSelect): fix NTreeSelect checkbox demo

* Update src/tree-select/demos/zhCN/checkbox.demo.md

Co-authored-by: 07akioni <07akioni2@gmail.com>
This commit is contained in:
XieZongChen 2021-07-23 10:21:28 -05:00 committed by GitHub
parent fa753e77c2
commit 8252784bd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -1,8 +1,11 @@
# Use Checkbox
If you want to achieve the effect of demo, `checkable`, `cascade` and `multiple` are indispensable.
```html
<n-tree-select
multiple
cascade
checkable
:options="options"
:default-value="['Norwegian Wood']"

View File

@ -1,8 +1,11 @@
# 使用 Checkbox 选择
想达到 demo 的效果,`checkable`、`cascade`、`multiple` 需要同时设定。
```html
<n-tree-select
multiple
cascade
checkable
:options="options"
:default-value="['Norwegian Wood']"