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
ff4756dc
Commit
ff4756dc
authored
Dec 06, 2021
by
季圣华
Browse files
接口超时时间改为90秒
parent
703a4167
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/utils/request.js
View file @
ff4756dc
...
@@ -16,7 +16,7 @@ let apiBaseUrl = window._CONFIG['domianURL'] || "/jshERP-boot";
...
@@ -16,7 +16,7 @@ let apiBaseUrl = window._CONFIG['domianURL'] || "/jshERP-boot";
// 创建 axios 实例
// 创建 axios 实例
const
service
=
axios
.
create
({
const
service
=
axios
.
create
({
baseURL
:
apiBaseUrl
,
// api base_url
baseURL
:
apiBaseUrl
,
// api base_url
timeout
:
9000
// 请求超时时间
timeout
:
9000
0
// 请求超时时间
})
})
const
err
=
(
error
)
=>
{
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