style:store
Showing
1 changed file
with
1 additions
and
3 deletions
1 | const state = { | 1 | const state = { |
2 | visitedViews: [], | 2 | visitedViews: [] |
3 | cachedViews: ['leaseDetails'] | ||
4 | } | 3 | } |
5 | 4 | ||
6 | const mutations = { | 5 | const mutations = { |
... | @@ -54,7 +53,6 @@ const actions = { | ... | @@ -54,7 +53,6 @@ const actions = { |
54 | delView ({ dispatch, state }, view) { | 53 | delView ({ dispatch, state }, view) { |
55 | return new Promise(resolve => { | 54 | return new Promise(resolve => { |
56 | dispatch('delVisitedView', view) | 55 | dispatch('delVisitedView', view) |
57 | dispatch('delCachedView', view) | ||
58 | resolve({ | 56 | resolve({ |
59 | visitedViews: [...state.visitedViews], | 57 | visitedViews: [...state.visitedViews], |
60 | }) | 58 | }) | ... | ... |
-
Please register or sign in to post a comment