'设置超时间'

main
JayChou 4 months ago
parent e26c7e026c
commit 04aec1977e
  1. 2
      jeecgboot-vue3-master/src/utils/http/axios/index.ts

@ -235,7 +235,7 @@ function createAxios(opt?: Partial<CreateAxiosOptions>) {
// authentication schemes,e.g: Bearer
// authenticationScheme: 'Bearer',
authenticationScheme: '',
timeout: 10 * 1000,
timeout: 20 * 1000,
// 基础接口地址
// baseURL: globSetting.apiUrl,
headers: { 'Content-Type': ContentTypeEnum.JSON },

Loading…
Cancel
Save