Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7693ff2a
authored
Oct 01, 2025
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
```
feat(http): 添加请求超时配置 为fetch请求添加30秒超时配置,提升接口调用的稳定性 ```
1 parent
632e4950
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
src/main.js
src/main.js
View file @
7693ff2
...
@@ -144,6 +144,7 @@ fetch(
...
@@ -144,6 +144,7 @@ fetch(
...
response
.
gsc
,
...
response
.
gsc
,
// baseURL:'http://192.168.3.145:9898/gsc-vcp-web-facade',
// baseURL:'http://192.168.3.145:9898/gsc-vcp-web-facade',
// baseURL: 'http://192.168.1.103:5006',
// baseURL: 'http://192.168.1.103:5006',
timeout
:
30
e3
,
session
:
{
session
:
{
requiresSession
:
true
,
requiresSession
:
true
,
sessionId
:
_
=>
util
.
cookies
.
get
(
"token"
)
sessionId
:
_
=>
util
.
cookies
.
get
(
"token"
)
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment