docs: update numeric type
This commit is contained in:
+3
-3
@@ -72,9 +72,9 @@ Vue.use(Lazyload);
|
||||
| src | Src | *string* | - |
|
||||
| fit | Fit mode | *string* | `fill` |
|
||||
| alt | Alt | *string* | - |
|
||||
| width | Width | *string \| number* | - |
|
||||
| height | Height | *string \| number* | - |
|
||||
| radius `v2.1.6` | Border Radius | *string \| number* | `0` |
|
||||
| width | Width | *number \| string* | - |
|
||||
| height | Height | *number \| string* | - |
|
||||
| radius `v2.1.6` | Border Radius | *number \| string* | `0` |
|
||||
| round | Whether to be round | *boolean* | `false` |
|
||||
| lazy-load | Whether to enable lazy load,should register [Lazyload](#/en-US/lazyload) component | *boolean* | `false` |
|
||||
| show-error `v2.0.9` | Whether to show error placeholder | *boolean* | `true` |
|
||||
|
||||
@@ -104,9 +104,9 @@ Vue.use(Lazyload);
|
||||
| src | 图片链接 | *string* | - |
|
||||
| fit | 图片填充模式 | *string* | `fill` |
|
||||
| alt | 替代文本 | *string* | - |
|
||||
| width | 宽度,默认单位为`px` | *string \| number* | - |
|
||||
| height | 高度,默认单位为`px` | *string \| number* | - |
|
||||
| radius `v2.1.6` | 圆角大小,默认单位为`px` | *string \| number* | `0` |
|
||||
| width | 宽度,默认单位为`px` | *number \| string* | - |
|
||||
| height | 高度,默认单位为`px` | *number \| string* | - |
|
||||
| radius `v2.1.6` | 圆角大小,默认单位为`px` | *number \| string* | `0` |
|
||||
| round | 是否显示为圆形 | *boolean* | `false` |
|
||||
| lazy-load | 是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用 | *boolean* | `false` |
|
||||
| show-error `v2.0.9` | 是否展示图片加载失败提示 | *boolean* | `true` |
|
||||
|
||||
Reference in New Issue
Block a user