style:store
Showing
1 changed file
with
0 additions
and
4 deletions
| ... | @@ -46,14 +46,10 @@ const mutations = { | ... | @@ -46,14 +46,10 @@ const mutations = { |
| 46 | const actions = { | 46 | const actions = { |
| 47 | addView ({ dispatch }, view) { | 47 | addView ({ dispatch }, view) { |
| 48 | dispatch('addVisitedView', view) | 48 | dispatch('addVisitedView', view) |
| 49 | dispatch('addCachedView', view) | ||
| 50 | }, | 49 | }, |
| 51 | addVisitedView ({ commit }, view) { | 50 | addVisitedView ({ commit }, view) { |
| 52 | commit('ADD_VISITED_VIEW', view) | 51 | commit('ADD_VISITED_VIEW', view) |
| 53 | }, | 52 | }, |
| 54 | addCachedView ({ commit }, view) { | ||
| 55 | commit('ADD_CACHED_VIEW', view) | ||
| 56 | }, | ||
| 57 | 53 | ||
| 58 | delView ({ dispatch, state }, view) { | 54 | delView ({ dispatch, state }, view) { |
| 59 | return new Promise(resolve => { | 55 | return new Promise(resolve => { | ... | ... |
-
Please register or sign in to post a comment