跳转到内容

Image

图片

API

参数说明类型默认值
maxWidth最大图片宽度number-
maxHeight最大文件高度number-
_registerValidator注册校验函数func-

用法

<View title="Image">
<Form model="trantor_doc_Person">
<Fields>
<Field name="avatar">
<Validations>
<Image maxWidth="10" :maxHeight="10" />
</Validations>
</Field>
</Form>
</View>