提交 5785adc7 authored 作者: kxjia's avatar kxjia

修改timeout 10000

上级 888b345d
...@@ -17,6 +17,8 @@ VITE_GLOB_APP_OPEN_SSO = false ...@@ -17,6 +17,8 @@ VITE_GLOB_APP_OPEN_SSO = false
VITE_GLOB_APP_OPEN_QIANKUN=true VITE_GLOB_APP_OPEN_QIANKUN=true
# 文件预览地址 # 文件预览地址
VITE_GLOB_ONLINE_VIEW_URL=http://fileview.jeecg.com/onlinePreview # VITE_GLOB_ONLINE_VIEW_URL=http://fileview.jeecg.com/onlinePreview
VITE_GLOB_ONLINE_VIEW_URL=http://47.98.203.68:82/stm/sys/common/static/
...@@ -18,6 +18,7 @@ VITE_GLOB_API_URL=/stm ...@@ -18,6 +18,7 @@ VITE_GLOB_API_URL=/stm
#后台接口全路径地址(必填) #后台接口全路径地址(必填)
VITE_GLOB_DOMAIN_URL=http://47.98.203.68:8180/stm VITE_GLOB_DOMAIN_URL=http://47.98.203.68:8180/stm
# 接口父路径前缀 # 接口父路径前缀
VITE_GLOB_API_URL_PREFIX= VITE_GLOB_API_URL_PREFIX=
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
"@ant-design/colors": "^7.2.1", "@ant-design/colors": "^7.2.1",
"@ant-design/icons-vue": "^7.0.1", "@ant-design/icons-vue": "^7.0.1",
"@form-create/ant-design-vue": "^2.6.3", "@form-create/ant-design-vue": "^2.6.3",
"@form-create/antd-designer": "^3.4.0",
"@form-create/core": "^2.6.3", "@form-create/core": "^2.6.3",
"@iconify/iconify": "^3.1.1", "@iconify/iconify": "^3.1.1",
"@jeecg/aiflow": "3.9.0-beta2", "@jeecg/aiflow": "3.9.0-beta2",
...@@ -39,6 +40,7 @@ ...@@ -39,6 +40,7 @@
"@vue/compat": "^3.5.27", "@vue/compat": "^3.5.27",
"@vue/shared": "^3.5.22", "@vue/shared": "^3.5.22",
"@vueuse/core": "^10.11.1", "@vueuse/core": "^10.11.1",
"@vxe-ui/core": "^4.2.21",
"@zxcvbn-ts/core": "^3.0.4", "@zxcvbn-ts/core": "^3.0.4",
"ant-design-vue": "^4.2.6", "ant-design-vue": "^4.2.6",
"axios": "^1.12.2", "axios": "^1.12.2",
...@@ -80,6 +82,7 @@ ...@@ -80,6 +82,7 @@
"swagger-ui-dist": "^5.29.3", "swagger-ui-dist": "^5.29.3",
"tinymce": "6.6.2", "tinymce": "6.6.2",
"vditor": "^3.11.2", "vditor": "^3.11.2",
"vkbeautify": "^0.99.3",
"vue": "^3.5.22", "vue": "^3.5.22",
"vue-cropper": "^0.6.5", "vue-cropper": "^0.6.5",
"vue-cropperjs": "^5.0.0", "vue-cropperjs": "^5.0.0",
......
...@@ -201,6 +201,9 @@ export class VAxios { ...@@ -201,6 +201,9 @@ export class VAxios {
} }
request<T = any>(config: AxiosRequestConfig, options?: RequestOptions): Promise<T> { request<T = any>(config: AxiosRequestConfig, options?: RequestOptions): Promise<T> {
if(!config.timeout) {
config.timeout = 10000
}
let conf: CreateAxiosOptions = cloneDeep(config); let conf: CreateAxiosOptions = cloneDeep(config);
const transform = this.getTransform(); const transform = this.getTransform();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论