Showing
1 changed file
with
5 additions
and
5 deletions
| ... | ... | @@ -91,7 +91,7 @@ export const formSchema: FormSchema[] = [ |
| 91 | 91 | valueField: 'fileList', |
| 92 | 92 | componentProps: () => { |
| 93 | 93 | return { |
| 94 | - // listType: 'picture-card', | |
| 94 | + listType: 'picture-card', | |
| 95 | 95 | maxFileLimit: 1, |
| 96 | 96 | api: async (file: File) => { |
| 97 | 97 | try { |
| ... | ... | @@ -110,10 +110,10 @@ export const formSchema: FormSchema[] = [ |
| 110 | 110 | onPreview: (fileList: FileItem) => { |
| 111 | 111 | createImgPreview({ imageList: [fileList.url!] }); |
| 112 | 112 | }, |
| 113 | - showUploadList: { | |
| 114 | - showDownloadIcon: true, | |
| 115 | - showRemoveIcon: true, | |
| 116 | - }, | |
| 113 | + // showUploadList: { | |
| 114 | + // showDownloadIcon: true, | |
| 115 | + // showRemoveIcon: true, | |
| 116 | + // }, | |
| 117 | 117 | }; |
| 118 | 118 | }, |
| 119 | 119 | }, | ... | ... |