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