提交代码

This commit is contained in:
jiang 2024-12-02 02:35:32 +08:00
parent 6fc0b8d11d
commit 87575df13e
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ export default {
this.uploadChunks(nextFile);
},
beforeUpload(file) {
const maxSize = 10 * 1024 * 1024*1024; // 5MB
const maxSize = 2 * 1024 * 1024*1024; // 5MB
if (file.size > maxSize) {
this.$message.error('文件大小不能超过 2GB');
return false; //