diff --git a/src/store/modules/keepAlive.js b/src/store/modules/keepAlive.js index c143cf51..1c5f2856 100644 --- a/src/store/modules/keepAlive.js +++ b/src/store/modules/keepAlive.js @@ -1,6 +1,6 @@ export default { state: { - keepLiveRoute: [], + keepLiveRoute: ['empty'], routeKey: null, routeShow: true }, diff --git a/src/views/other/empty.vue b/src/views/other/empty.vue index 3e42a037..8451d4ee 100644 --- a/src/views/other/empty.vue +++ b/src/views/other/empty.vue @@ -8,6 +8,7 @@