|
@@ -27,6 +27,7 @@ export default new Vuex.Store({
|
|
|
closeDrawerTemp:false,
|
|
|
DrawerShow:false,
|
|
|
historyRouter:null,
|
|
|
+ pageCache:[]
|
|
|
},
|
|
|
getters: {
|
|
|
siteinfo:state => state.siteinfo,
|
|
@@ -46,7 +47,8 @@ export default new Vuex.Store({
|
|
|
DrawerShow:state => state.DrawerShow,
|
|
|
sys_modules:state => state.sys_modules,
|
|
|
historyRouter:state => state.historyRouter,
|
|
|
- isRouterAlive:state => state.isRouterAlive
|
|
|
+ isRouterAlive:state => state.isRouterAlive,
|
|
|
+ pageCache: status => status.pageCache
|
|
|
|
|
|
},
|
|
|
mutations: {
|
|
@@ -114,6 +116,9 @@ export default new Vuex.Store({
|
|
|
clearSearchValue (state) {
|
|
|
state.searchValue = ''
|
|
|
},
|
|
|
+ setPageCache(state,res) {
|
|
|
+ state.pageCache = res
|
|
|
+ },
|
|
|
},
|
|
|
actions: {
|
|
|
// 系统选项分类查询
|