[bugfix] Doc: 修复 Cell Field 组件 titleWidth 类型错误 (#492)

This commit is contained in:
Fyerl 2018-09-02 09:30:02 +08:00 committed by neverland
parent 3373d94cf6
commit 60a5e73baf
3 changed files with 4 additions and 4 deletions

View File

@ -96,7 +96,7 @@
|-----------|-----------|-----------|-------------|
| icon | 左侧图标,可选值见 Icon 组件 | `String` | - |
| title | 左侧标题 | `String | Number` | - |
| titleWidth | 标题宽度 | `Number` | - |
| titleWidth | 标题宽度 | `String` | - |
| value | 右侧内容 | `String | Number` | - |
| label | 标题下方的描述信息 | `String` | - |
| border | 是否显示下边框 | `Boolean` | `true` |

View File

@ -133,7 +133,7 @@
| readonly | 是否只读 | `Boolean` | `false` |
| clearable | 是否启用清除控件 | `Boolean` | `false` |
| required | 是否显示表单必填星号 | `Boolean` | `false` |
| titleWidth | 标题宽度 | `Number` | `90` |
| titleWidth | 标题宽度 | `String` | `90px` |
| maxlength | 最大输入长度,设置为 -1 的时候不限制最大长度 | `Number` | `-1` |
| placeholder | 输入框为空时占位符 | `String` | - |
| is-link | 是否展示右侧箭头并开启点击反馈 | `Boolean` | `false` |

View File

@ -55,8 +55,8 @@ Component({
value: true
},
titleWidth: {
type: Number,
value: 90
type: String,
value: '90px'
}
},