Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
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
李俊赕
self-support
Commits
8efd2635
Commit
8efd2635
authored
Nov 04, 2021
by
Damon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor: 订单详情页返回逻辑修改
parent
c9751c4f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
detail.vue
src/pages/order/detail.vue
+10
-3
No files found.
src/pages/order/detail.vue
View file @
8efd2635
...
@@ -484,9 +484,16 @@ export default {
...
@@ -484,9 +484,16 @@ export default {
},
},
methods
:
{
methods
:
{
goBack
()
{
goBack
()
{
let
pages
=
getCurrentPages
()
if
(
pages
.
length
===
1
)
{
uni
.
switchTab
({
uni
.
switchTab
({
url
:
'pages/index/order'
url
:
'pages/index/order'
})
})
}
else
{
uni
.
navigateBack
({
delta
:
1
})
}
},
},
updateLocation
()
{
updateLocation
()
{
let
self
=
this
let
self
=
this
...
...
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