[Improvement] Area: add reset method (#1427)

This commit is contained in:
neverland
2018-07-06 20:04:38 +08:00
committed by GitHub
parent e34c940063
commit 0718339c81
6 changed files with 105 additions and 1 deletions
+8
View File
@@ -55,6 +55,14 @@ Vue.use(Area);
| cancel | 点击取消按钮时 | - |
| change | 选项改变时触发 | Picker 实例,所有列选中值,当前列对应的索引 |
### 方法
通过 ref 可以获取到 area 实例并调用实例方法
| 方法名 | 参数 | 返回值 | 介绍 |
|-----------|-----------|-----------|-------------|
| reset | - | - | 重置所有选项到第一项 |
### 数据格式
#### 省市县列表数据格式