DeepSelect: rename to TreeSelect
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
|
||||
**合并的 Pull Request (可能有不兼容改动):**
|
||||
|
||||
- Add deep-select component and fix a popup bug. [\#103](https://github.com/youzan/vant/pull/103) ([Tinysymphony](https://github.com/Tinysymphony))
|
||||
- Add tree-select component and fix a popup bug. [\#103](https://github.com/youzan/vant/pull/103) ([Tinysymphony](https://github.com/Tinysymphony))
|
||||
- Doc: update Step/Loading/Tag/Badge documents [\#101](https://github.com/youzan/vant/pull/101) ([chenjiahan](https://github.com/chenjiahan))
|
||||
|
||||
## [v0.8.7](https://github.com/youzan/vant/tree/v0.8.7) (2017-08-29)
|
||||
|
||||
@@ -74,13 +74,13 @@ export default {
|
||||
}
|
||||
</script>
|
||||
|
||||
## DeepSelect 分类选择
|
||||
## TreeSelect 分类选择
|
||||
|
||||
### 使用指南
|
||||
``` javascript
|
||||
import { DeepSelect } from 'vant';
|
||||
import { TreeSelect } from 'vant';
|
||||
|
||||
Vue.component(DeepSelect.name, DeepSelect);
|
||||
Vue.component(TreeSelect.name, TreeSelect);
|
||||
```
|
||||
|
||||
### 代码演示
|
||||
@@ -89,13 +89,13 @@ Vue.component(DeepSelect.name, DeepSelect);
|
||||
|
||||
:::demo 基础用法
|
||||
```html
|
||||
<van-deep-select
|
||||
<van-tree-select
|
||||
:items="items"
|
||||
:main-active-index="mainActiveIndex"
|
||||
:active-id="activeId"
|
||||
@navclick="onNavClick"
|
||||
@itemclick="onItemClick"
|
||||
></van-deep-select>
|
||||
></van-tree-select>
|
||||
```
|
||||
|
||||
```javascript
|
||||
Reference in New Issue
Block a user