修改项目多窗口页面缓存问题
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user