Skip to content
On this page

Image 组件 ​

Image 组件用于显示图片,并支持预览功能。

Props ​

属性名类型默认值描述
modeImageMode'aspectFit'图片填充模式。
srcstring-图片缩略图 URL。
previewSrcstring-图片预览 URL。
previewbooleantrue是否可以预览。

插槽 ​

组件没有提供插槽。

事件 ​

事件名参数类型描述
--无。