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>