feat(Circle): update text style (#4401)

This commit is contained in:
neverland
2019-09-09 14:20:44 +08:00
committed by GitHub
parent 7dbfbb9bcd
commit 1133b4ce1a
6 changed files with 13 additions and 10 deletions

View File

@@ -100,10 +100,10 @@ export default {
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
| items | 分类显示所需的数据 | *Item[]* | `[]` | - |
| height | 高度,默认单位为 px | *string \| number* | `300` | - |
| height | 高度,默认单位为`px` | *string \| number* | `300` | - |
| main-active-index | 左侧选中项的索引 | *number* | `0` | - |
| active-id | 右侧选中项的 id支持传入数组 | *string \| number \| (string \| number)[]* | `0` | - |
| max | 右侧项最大选中个数 | *number* | *Infinity* | 2.2.0 |
| max | 右侧项最大选中个数 | *number* | `Infinity` | 2.2.0 |
### Events
@@ -120,9 +120,7 @@ export default {
### Item 数据结构
`items` 整体为一个数组,数组内包含一系列描述分类的对象。
每个分类里text 表示当前分类的名称。children 表示分类里的可选项为数组结构id 被用来唯一标识每个选项
`items` 整体为一个数组,数组内包含一系列描述分类的对象,每个分类里,`text`表示当前分类的名称,`children`表示分类里的可选项
```javascript
[
@@ -136,7 +134,7 @@ export default {
{
// 名称
text: '温州',
// id作为匹配选中状态的标识
// id作为匹配选中状态的标识
id: 1,
// 禁用选项
disabled: true