diff --git a/docs/component/img.md b/docs/component/img.md index 0d9020ac..24055ff3 100644 --- a/docs/component/img.md +++ b/docs/component/img.md @@ -78,7 +78,7 @@ mode为小程序原生属性,参考[微信小程序image官方文档](https:// | src | 图片链接 | string | - | - | - | | width | 宽度,默认单位为px | number / string | - | - | - | | height | 高度,默认单位为px | number / string | - | - | - | -| mode | 填充模式 | string | 'top left' / 'top right' / 'bottom left' / 'bottom right' / 'right' / 'left' / 'center' / 'bottom' / 'top' / 'heightFix' / 'widthFix' / 'aspectFill' / 'aspectFit' / 'scaleToFill' | 'scaleToFill' | - | +| mode | 填充模式 | ImageMode | 'top left' / 'top right' / 'bottom left' / 'bottom right' / 'right' / 'left' / 'center' / 'bottom' / 'top' / 'heightFix' / 'widthFix' / 'aspectFill' / 'aspectFit' / 'scaleToFill' | 'scaleToFill' | - | | round | 是否显示为圆形 | boolean | - | false | - | | radius | 圆角大小,默认单位为px | number / string | - | - | - | | enable-preview | 是否支持点击预览 | boolean | - | false | - | diff --git a/src/pages/img/Index.vue b/src/pages/img/Index.vue index 7b005c83..30491cf4 100644 --- a/src/pages/img/Index.vue +++ b/src/pages/img/Index.vue @@ -41,7 +41,9 @@