diff --git a/src/views/tool/storage/upload-modal.vue b/src/views/tool/storage/upload-modal.vue index 36469c1..ab61020 100644 --- a/src/views/tool/storage/upload-modal.vue +++ b/src/views/tool/storage/upload-modal.vue @@ -13,7 +13,7 @@ @cancel="onCancel" > - + 选择文件 @@ -88,8 +88,8 @@ }; const beforeUpload: UploadProps['beforeUpload'] = async (file) => { - if (file.size / 1024 / 1024 > 2) { - message.error('单个文件不超过2MB'); + if (file.size / 1024 / 1024 > 30) { + message.error('单个文件不超过30MB'); } else { const item: FileItem = { file,