@@ -36,7 +36,7 @@ function fetch(
header = {},
responseType = '',
insurance,
- timeout = 30000
+ timeout = 60000
) {
contentType === 'form' && (contentType = 'application/x-www-form-urlencoded')
contentType === 'json' && (contentType = 'application/json')
@@ -397,6 +397,7 @@ export default {
year: this.year,
month: this.month
}
+ this.loading = true
this.$api.dispatch.exportFile(data).then(res => {
if (res.size === 0 || Object.hasOwn(res, 'code')) {
this.$message.error('暂无文件或者下载错误,请稍后再试...')