docs: improve classname typing (#7927)
This commit is contained in:
@@ -360,12 +360,12 @@ Picker events will pass different parameters according to the columns are single
|
||||
|
||||
### Data Structure of Column
|
||||
|
||||
| Key | Description | Type |
|
||||
| ------------ | ------------------------- | ---------- |
|
||||
| values | Value of column | _string[]_ |
|
||||
| defaultIndex | Default value index | _number_ |
|
||||
| className | ClassName for this column | _any_ |
|
||||
| children | Cascade children | _Column_ |
|
||||
| Key | Description | Type |
|
||||
| ------------ | ------------------------- | --------------------------- |
|
||||
| values | Value of column | _string[]_ |
|
||||
| defaultIndex | Default value index | _number_ |
|
||||
| className | ClassName for this column | _string \| Array \| object_ |
|
||||
| children | Cascade children | _Column_ |
|
||||
|
||||
### Methods
|
||||
|
||||
|
||||
@@ -385,12 +385,12 @@ export default {
|
||||
|
||||
当传入多列数据时,`columns` 为一个对象数组,数组中的每一个对象配置每一列,每一列有以下 `key`:
|
||||
|
||||
| 键名 | 说明 | 类型 |
|
||||
| ------------ | -------------------------- | ---------- |
|
||||
| values | 列中对应的备选值 | _string[]_ |
|
||||
| defaultIndex | 初始选中项的索引,默认为 0 | _number_ |
|
||||
| className | 为对应列添加额外的类名 | _any_ |
|
||||
| children | 级联选项 | _Column_ |
|
||||
| 键名 | 说明 | 类型 |
|
||||
| ------------ | -------------------------- | --------------------------- |
|
||||
| values | 列中对应的备选值 | _string[]_ |
|
||||
| defaultIndex | 初始选中项的索引,默认为 0 | _number_ |
|
||||
| className | 为对应列添加额外的类名 | _string \| Array \| object_ |
|
||||
| children | 级联选项 | _Column_ |
|
||||
|
||||
### 方法
|
||||
|
||||
|
||||
Reference in New Issue
Block a user