Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uni-app-ddh-shop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhanhai
uni-app-ddh-shop
Commits
3c007020
Commit
3c007020
authored
Aug 07, 2024
by
ly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改请求
parent
26b95d10
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
app-service.js
unpackage/dist/dev/app-plus/app-service.js
+1
-1
request.js
utils/request.js
+4
-4
No files found.
unpackage/dist/dev/app-plus/app-service.js
View file @
3c007020
This diff is collapsed.
Click to expand it.
utils/request.js
View file @
3c007020
...
@@ -66,10 +66,10 @@ const request=async(url,type,data)=>{
...
@@ -66,10 +66,10 @@ const request=async(url,type,data)=>{
},
},
fail
:(
err
)
=>
{
fail
:(
err
)
=>
{
console
.
log
(
err
,
954
)
console
.
log
(
err
,
954
)
return
uni
.
showToast
({
//
return uni.showToast({
icon
:
'loading'
,
//
icon:'loading',
title
:
'请求失败'
//
title:'请求失败'
})
//
})
reject
(
err
)
reject
(
err
)
}
}
});
});
...
...
Write
Preview
Markdown
is supported
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