fix: Fixed the issue where no error message was displayed when uploading a file that was too large #2258 (#2697)

### What problem does this PR solve?

fix: Fixed the issue where no error message was displayed when uploading
a file that was too large #2258

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
balibabu
2024-10-01 16:37:46 +08:00
committed by GitHub
parent 1518824b0c
commit 62202b7eff
4 changed files with 9 additions and 0 deletions

View File

@@ -580,6 +580,7 @@ export default {
404: '发出的请求针对的是不存在的记录,服务器没有进行操作。',
406: '请求的格式不可得。',
410: '请求的资源被永久删除,且不会再得到的。',
413: '上传的文件总大小过大。',
422: '当创建一个对象时,发生一个验证错误。',
500: '服务器发生错误,请检查服务器。',
502: '网关错误。',