feat: add upload component

This commit is contained in:
xingyu
2022-12-06 23:45:35 +08:00
parent ba6a2957fc
commit 731e49d7b6
8 changed files with 234 additions and 43 deletions

View File

@ -77,6 +77,17 @@ const crudSchemas = reactive<VxeCrudSchema>({
component: 'InputNumber',
value: 0
},
#elseif($column.htmlType == "imageUpload")## 图片上传
form: {
component: 'UploadImg',
componentProps: {
limit: 1
}
},
#elseif($column.htmlType == "fileUpload")## 图片上传
form: {
component: 'UploadFile'
},
#end
#end
#if ($column.listOperation)