跳转到内容

Image

图片

API

IImageProps

参数类型说明默认值
sizenumber图片大小-
showInlineTipsboolean是否展示底部文本提示,默认展示-
uploadTextstring上传按钮的文案,默认是 上传-

用法

<View title="Image" version="2">
<Form model="trantor_doc_Person">
<Fields>
<Field name="avatar">
<RenderType>
<Image size="#{100}" />
</RenderType>
</Field>
</Form>
</View>

注意:当前例子为0.17.x 版本