建表按文件上传支持csv
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -24,9 +24,9 @@ const fileFormRef = ref(); | ... | @@ -24,9 +24,9 @@ const fileFormRef = ref(); |
| 24 | const fileFormItems: any = ref([ | 24 | const fileFormItems: any = ref([ |
| 25 | { | 25 | { |
| 26 | label: '选择文件上传', | 26 | label: '选择文件上传', |
| 27 | tip: '支持扩展名:xlsx、xls,文件大小不超过20MB', | 27 | tip: '支持扩展名:xlsx、xls、csv,文件大小不超过20MB', |
| 28 | type: 'upload-file', | 28 | type: 'upload-file', |
| 29 | accept: '.xlsx, .xls', | 29 | accept: '.xlsx, .xls, .csv', |
| 30 | limit: 1, | 30 | limit: 1, |
| 31 | limitSize: 20, | 31 | limitSize: 20, |
| 32 | isExcel: true, | 32 | isExcel: true, | ... | ... |
-
Please register or sign in to post a comment