修改项目多窗口页面缓存问题

This commit is contained in:
龙运模
2024-10-28 21:24:40 +08:00
parent c4541ef9ee
commit 5c50d94dfa
17 changed files with 19 additions and 14 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ export default {
}
},
removeKeepLive(state, component){
var index = state.keepLiveRoute.indexOf(component);
const index = state.keepLiveRoute.indexOf(component);
if(index !== -1){
state.keepLiveRoute.splice(index, 1);
}