[Improvement] Area: add item-height & visible-item-count props (#591)

This commit is contained in:
neverland
2018-01-30 20:27:36 +08:00
committed by GitHub
parent 1f19852118
commit 9df66da212
3 changed files with 8 additions and 0 deletions
+2
View File
@@ -42,6 +42,8 @@ Vue.use(Area);
| title | 顶部栏标题 | `String` | `''` | - |
| area-list | 省市县数据,格式见下方 | `Object` | - | - |
| columns-num | 省市县显示列数,3-省市县,2-省市,1-省 | `String`,`Number` | `3` | - |
| item-height | 选项高度 | `Number` | `44` | - |
| visible-item-count | 可见的选项个数 | `Number` | `5` | - |
### Event