Commit ec7792c7e2e45264ad667b5fefb2abf689448e2f

Authored by fengwotao
1 parent 49b81cda

fix: DEFECT-1590 缩略图又变为这样了

... ... @@ -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 },
... ...