新增keep-alive

This commit is contained in:
zouzhibing 2022-05-30 15:37:46 +08:00
parent dd15e27ab3
commit 72077d1c28
2 changed files with 1 additions and 2 deletions

View File

@ -55,7 +55,6 @@
const mode = computed(()=>{
return store.state.setting.mode
})
console.log('mode============',mode)
return{
isCollapse,
device,

View File

@ -16,7 +16,7 @@ const mutations = {
if (view.meta.keepAlive) {
state.cachedViews.push(view.name)
console.log('======触发=======',state.cachedViews)
}
},
REMOVE_VISITED_VIEW: (state, routes) => {