[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
@@ -57,6 +57,14 @@ Set `columns-num` with 2, you'll have a 2 level picker.
| cancel | triggers when clicking the cancel button | - |
| change | Triggered when current option changed | Picker instance, current valuescolumn index |
### Methods
Use ref to get area instance and call instance methods
| Name | Attribute | Return value | Description |
|-----------|-----------|-----------|-------------|
| reset | - | - | Reset all options |
### Data Structure
#### areaList