Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_wechat
Overview
Overview
Details
Activity
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
pseer
gxpt_wechat
Commits
4b208540
Commit
4b208540
authored
May 27, 2024
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
细节优化
parent
85d6d11b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
index.js
common/vmeitime-http/index.js
+7
-2
order.vue
pages/order/order.vue
+1
-1
No files found.
common/vmeitime-http/index.js
View file @
4b208540
...
@@ -50,8 +50,13 @@ http.interceptor.request = (config => {
...
@@ -50,8 +50,13 @@ http.interceptor.request = (config => {
})
})
http
.
interceptor
.
response
=
(
config
)
=>
{
http
.
interceptor
.
response
=
(
config
)
=>
{
// uni.hideLoading();
// uni.hideLoading();
// console.log(config.data, "请求结果")
if
(
config
.
statusCode
==
502
){
uni
.
hideLoading
()
uni
.
showToast
({
icon
:
"none"
,
title
:
"内部服务错误,请稍后重试"
})
}
if
(
config
.
header
&&
config
.
header
[
"Access-Control-Expose-Headers"
])
{
if
(
config
.
header
&&
config
.
header
[
"Access-Control-Expose-Headers"
])
{
uni
.
setStorageSync
(
'tokenHeaders'
,
config
.
header
[
"Access-Control-Expose-Headers"
])
uni
.
setStorageSync
(
'tokenHeaders'
,
config
.
header
[
"Access-Control-Expose-Headers"
])
...
...
pages/order/order.vue
View file @
4b208540
...
@@ -886,7 +886,7 @@
...
@@ -886,7 +886,7 @@
})
})
return
{
return
{
tempStartDate
,
tempStartDate
:
this
.
orderType
==
1
?
moment
(
tempStartDate
).
add
(
1
,
'm'
)
:
tempStartDate
,
tempEndDate
tempEndDate
}
}
},
},
...
...
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