Showing
1 changed file
with
5 additions
and
5 deletions
@@ -91,7 +91,7 @@ export const formSchema: FormSchema[] = [ | @@ -91,7 +91,7 @@ export const formSchema: FormSchema[] = [ | ||
91 | valueField: 'fileList', | 91 | valueField: 'fileList', |
92 | componentProps: () => { | 92 | componentProps: () => { |
93 | return { | 93 | return { |
94 | - // listType: 'picture-card', | 94 | + listType: 'picture-card', |
95 | maxFileLimit: 1, | 95 | maxFileLimit: 1, |
96 | api: async (file: File) => { | 96 | api: async (file: File) => { |
97 | try { | 97 | try { |
@@ -110,10 +110,10 @@ export const formSchema: FormSchema[] = [ | @@ -110,10 +110,10 @@ export const formSchema: FormSchema[] = [ | ||
110 | onPreview: (fileList: FileItem) => { | 110 | onPreview: (fileList: FileItem) => { |
111 | createImgPreview({ imageList: [fileList.url!] }); | 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 | }, |