diff --git a/src/layouts/tabs/TabsView.vue b/src/layouts/tabs/TabsView.vue index 2f35161..cf33f73 100644 --- a/src/layouts/tabs/TabsView.vue +++ b/src/layouts/tabs/TabsView.vue @@ -70,7 +70,9 @@ export default { }, mounted () { this.correctPageMinHeight(-this.tabsOffset) - this.cachedKeys.push(this.$refs.tabContent.$vnode.key) + if(this.multiPage){ + this.cachedKeys.push(this.$refs.tabContent.$vnode.key) + } }, beforeDestroy() { window.removeEventListener('page:close', this.closePageListener)