Skip to content

Commit

Permalink
fix(pasteIndex.vue): 修缮错误说明
Browse files Browse the repository at this point in the history
  • Loading branch information
MingcongBai committed Sep 23, 2024
1 parent 6b3df2d commit 1ba0def
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/paste/PasteIndex.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const submit = async () => {
ElMessage.error({
showClose: true,
duration: 10000,
message: `提交内容超出了服务器10MB限制。文本占用了${formdataSize}B (${BToMB(formdataSize)}MB) 、文件占用了${toailFileSize}B (${BToMB(toailFileSize)}MB)`
message: `剪贴板大小超出了 10MiB 限制:文本占用了 ${formdataSize}B (${BToMB(formdataSize)}MiB)、附件占用了 ${toailFileSize}B (${BToMB(toailFileSize)}MiB)`
});
}
submiting.value = true;
Expand Down Expand Up @@ -111,7 +111,7 @@ const handleChange = (uploadFile, uploadFiles) => {
ElMessage.error({
showClose: true,
duration: 10000,
message: `添加 '${uploadFile.name}' 后会超出10MB请求体大小限制!`
message: `每个剪贴板大小不得超过 10MiB,上传 '${uploadFile.name}' 后会超出该限制!``
});
selectedFileList.value.pop();
// showSize();
Expand Down

0 comments on commit 1ba0def

Please sign in to comment.