Commit 3653fc06aa02a572d77402b6dae28694121ea31c

Authored by fengwotao
1 parent a25bf798

fix: DEFECT-1566 大屏名称输入过长字符提示服务器错误

Showing 1 changed file with 3 additions and 3 deletions
... ... @@ -57,7 +57,7 @@ export const formSchema: FormSchema[] = [
57 57 valueField: 'fileList',
58 58 componentProps: () => {
59 59 return {
60   - // listType: 'picture-card',
  60 + listType: 'picture-card',
61 61 maxFileLimit: 1,
62 62 api: async (file: File) => {
63 63 try {
... ... @@ -73,7 +73,7 @@ export const formSchema: FormSchema[] = [
73 73 return {};
74 74 }
75 75 },
76   - showUploadList: true,
  76 + // showUploadList: true,
77 77 onDownload(file) {
78 78 console.log(file);
79 79 },
... ... @@ -91,7 +91,7 @@ export const formSchema: FormSchema[] = [
91 91 component: 'Input',
92 92 componentProps: {
93 93 placeholder: '请输入大屏名称',
94   - maxLength: 255,
  94 + maxLength: 32,
95 95 },
96 96 },
97 97 {
... ...