Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
596130e9
authored
2022-08-30 11:17:28 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:store
1 parent
0a002fc6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
src/store/modules/tagsView.js
src/store/modules/tagsView.js
View file @
596130e
const
state
=
{
visitedViews
:
[],
cachedViews
:
[
'leaseDetails'
]
visitedViews
:
[]
}
const
mutations
=
{
...
...
@@ -54,7 +53,6 @@ const actions = {
delView
({
dispatch
,
state
},
view
)
{
return
new
Promise
(
resolve
=>
{
dispatch
(
'delVisitedView'
,
view
)
dispatch
(
'delCachedView'
,
view
)
resolve
({
visitedViews
:
[...
state
.
visitedViews
],
})
...
...
Please
register
or
sign in
to post a comment