feat(Image): add radius prop (#4230)

This commit is contained in:
neverland
2019-08-25 12:41:26 +08:00
committed by GitHub
parent c257cc4bac
commit af018ca0f1
5 changed files with 28 additions and 2 deletions
+2 -1
View File
@@ -99,10 +99,11 @@ Vue.use(Image);
| alt | 替代文本 | `string` | - | - |
| width | 宽度,默认单位为`px` | `string | number` | - | - |
| height | 高度,默认单位为`px` | `string | number` | - | - |
| radius | 圆角大小,默认单位为`px` | `string | number` | `0` | 2.1.6 |
| round | 是否显示为圆形 | `boolean` | `false` | - |
| lazy-load | 是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用 | `boolean` | `false` | - |
| show-error | 是否展示图片加载失败提示 | `boolean` | `true` | 2.0.9 |
| show-loading | 是否展示图片加载中提示 | `boolean` | `true` | `2.0.9` |
| show-loading | 是否展示图片加载中提示 | `boolean` | `true` | 2.0.9 |
### 图片填充模式