Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
3e6b8fe2
Commit
3e6b8fe2
authored
Sep 19, 2022
by
黄卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完成入仓后,选择不打印入仓单,应该返回前一个订单列表(我的订单列表或全部订单列表点击入仓操作的前一个页面)
http://zentao.jdshangmen.com/bug-view-451.html
parent
64a10719
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
tab.js
src/plugins/tab.js
+5
-1
No files found.
src/plugins/tab.js
View file @
3e6b8fe2
...
@@ -32,7 +32,11 @@ export default {
...
@@ -32,7 +32,11 @@ export default {
// 关闭指定tab页签
// 关闭指定tab页签
closePage
(
obj
)
{
closePage
(
obj
)
{
if
(
obj
===
undefined
)
{
if
(
obj
===
undefined
)
{
return
store
.
dispatch
(
'
tagsView/delView
'
,
router
.
currentRoute
).
then
(({
lastPath
})
=>
{
return
store
.
dispatch
(
'
tagsView/delView
'
,
router
.
currentRoute
).
then
(({
visitedViews
})
=>
{
let
lastPath
=
'
/
'
if
(
visitedViews
.
length
>
0
){
lastPath
=
visitedViews
[
visitedViews
.
length
-
1
]
}
return
router
.
push
(
lastPath
||
'
/
'
);
return
router
.
push
(
lastPath
||
'
/
'
);
});
});
}
}
...
...
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