Skip to content

Commit

Permalink
feat: error when upload file large than 1MB
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangt2333 committed Jul 13, 2023
1 parent 24dfc73 commit d4ac028
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/editor/SubmitBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
:file-list.sync="fileList"
:show-upload-list="false"
:format="['zip']"
maxSize=1024
accept=".zip">
<!--:format="judgeTemplate.acceptFileExtensions || []"
:accept="(judgeTemplate.acceptFileExtensions || []).map(o => `.${o}`).join(',')">-->
Expand Down

0 comments on commit d4ac028

Please sign in to comment.