596130e9 by 任超

style:store

1 parent 0a002fc6
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],
})
......