Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
24d2cf46
Commit
24d2cf46
authored
May 14, 2022
by
季圣华
Browse files
修改接口请求超时时间
parent
d2f75201
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/utils/request.js
View file @
24d2cf46
...
...
@@ -16,7 +16,7 @@ let apiBaseUrl = window._CONFIG['domianURL'] || "/jshERP-boot";
// 创建 axios 实例
const
service
=
axios
.
create
({
baseURL
:
apiBaseUrl
,
// api base_url
timeout
:
9
0000
// 请求超时时间
timeout
:
30
0000
// 请求超时时间
})
const
err
=
(
error
)
=>
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment