增加文件上传大小限制到500MB - 添加Tomcat max-http-form-post-size和max-swallow-size配置 - 增加connection-timeout到10分钟 - 更新前端提示文字
This commit is contained in:
parent
240bb9b4d7
commit
2697494934
@ -54,6 +54,11 @@ server:
|
||||
charset: UTF-8
|
||||
enabled: true
|
||||
force: true
|
||||
# Tomcat 配置(支持大文件上传)
|
||||
tomcat:
|
||||
max-http-form-post-size: 524288000 # 500MB
|
||||
max-swallow-size: 524288000 # 500MB
|
||||
connection-timeout: 600000 # 10分钟超时
|
||||
|
||||
# 日志配置
|
||||
logging:
|
||||
|
||||
@ -55,6 +55,11 @@ server:
|
||||
charset: UTF-8
|
||||
enabled: true
|
||||
force: true
|
||||
# Tomcat 配置(支持大文件上传)
|
||||
tomcat:
|
||||
max-http-form-post-size: 524288000 # 500MB
|
||||
max-swallow-size: 524288000 # 500MB
|
||||
connection-timeout: 600000 # 10分钟超时
|
||||
# 生产环境压缩
|
||||
compression:
|
||||
enabled: true
|
||||
|
||||
@ -432,7 +432,7 @@
|
||||
<span class="tip-icon">
|
||||
<Icon name="document" size="sm" color="#31f08b" />
|
||||
</span>
|
||||
<span>支持格式:Excel (.xlsx/.xls)、Word (.docx/.doc)、PDF、ZIP,单文件最大50MB,最多上传5个文件</span>
|
||||
<span>支持格式:Excel (.xlsx/.xls)、Word (.docx/.doc)、PDF、ZIP,单文件最大500MB,最多上传5个文件</span>
|
||||
</div>
|
||||
<div v-if="uploadProgress > 0 && uploadProgress < 100" class="upload-progress">
|
||||
<a-progress :percent="uploadProgress" :show-info="true" />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user