DeepSelect: rename to TreeSelect

This commit is contained in:
陈嘉涵
2017-09-08 14:02:14 +08:00
parent 6ec9d9852a
commit 025133b172
8 changed files with 52 additions and 58 deletions
+1 -1
View File
@@ -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