chore: increase axios timeout to 30 minutes

--bug=1062162 --user=刘瑞斌 【github#3995】当知识库数据量过大时,导出excel或导出zip会超时报错 https://www.tapd.cn/62980211/s/1778654
v3.2
CaptainB 2025-09-25 10:13:08 +08:00
parent b879f3a99e
commit 2735540dd6
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ import { ref, type WritableComputedRef } from 'vue'
const axiosConfig = {
baseURL: (window.MaxKB?.prefix ? window.MaxKB?.prefix : '/admin') + '/api',
withCredentials: false,
timeout: 600000,
timeout: 1800000, // 30分钟 timeout
headers: {},
}