Image
图片
API
IImageProps
| 参数 | 类型 | 说明 | 默认值 |
|---|---|---|---|
| size | number | 图片大小 | - |
| showInlineTips | boolean | 是否展示底部文本提示,默认展示 | - |
| uploadText | string | 上传按钮的文案,默认是 上传 | - |
用法
<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 版本