[Doc] detailed Array typing
This commit is contained in:
@@ -193,7 +193,7 @@ export default {
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| columns | 对象数组,配置每一列显示的数据 | `Array` | `[]` | - |
|
||||
| columns | 对象数组,配置每一列显示的数据 | `Column[]` | `[]` | - |
|
||||
| show-toolbar | 是否显示顶部栏 | `boolean` | `false` | - |
|
||||
| toolbar-position | 顶部栏位置,可选值为`bottom` | `string` | `top` | 2.0.0 |
|
||||
| title | 顶部栏标题 | `string` | `''` | - |
|
||||
@@ -221,7 +221,7 @@ Picker 组件的事件会根据 columns 是单列或多列返回不同的参数
|
||||
|------|------|
|
||||
| title | 自定义标题内容 |
|
||||
|
||||
### Columns 数据结构
|
||||
### Column 数据结构
|
||||
|
||||
当传入多列数据时,`columns`为一个对象数组,数组中的每一个对象配置每一列,每一列有以下`key`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user