修复跨域报错

This commit is contained in:
2026-03-30 12:17:54 +08:00
parent 8669a20dc8
commit e4e5a5cae2
2 changed files with 9 additions and 2 deletions

View File

@@ -51,7 +51,6 @@ function createAxios<Data = any, T = ApiPromise<Data>>(axiosConfig: AxiosRequest
timeout: 1000 * 10,
headers: {
'think-lang': config.lang.defaultLang,
server: true,
},
responseType: 'json',
})