Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
VueElementTemplate
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
JIRA
JIRA
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
黄瑜
VueElementTemplate
Commits
8fd786c4
Commit
8fd786c4
authored
7 years ago
by
Pan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf[tags-view]: when closeOthersTags moveToCurrentTag
parent
54e7ce2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
TagsView.vue
src/views/layout/components/TagsView.vue
+3
-1
No files found.
src/views/layout/components/TagsView.vue
View file @
8fd786c4
...
...
@@ -92,7 +92,9 @@ export default {
},
closeOthersTags
()
{
this
.
$router
.
push
(
this
.
selectedTag
.
path
)
this
.
$store
.
dispatch
(
'delOthersViews'
,
this
.
selectedTag
)
this
.
$store
.
dispatch
(
'delOthersViews'
,
this
.
selectedTag
).
then
(()
=>
{
this
.
moveToCurrentTag
()
})
},
closeAllTags
()
{
this
.
$store
.
dispatch
(
'delAllViews'
)
...
...
This diff is collapsed.
Click to expand it.
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