diff --git a/src/App.vue b/src/App.vue index 7efc269..128a3ce 100755 --- a/src/App.vue +++ b/src/App.vue @@ -8,17 +8,18 @@
+ - + + - @@ -47,10 +48,9 @@ export default { Breadcrumb }, computed: { - ...mapState(['showSidebar', 'showFooter', 'showHeader','slidermenu','customize']) // 从Vuex映射showSidebar状态到组件的计算属性中 + ...mapState(['showSidebar','showHeader','slidermenu','customize']) // 从Vuex映射showSidebar状态到组件的计算属性中 }, mounted() { - console.log(this.showFooter,'showFooter----'); window.addEventListener('beforeunload', this.clearStorage); }, beforeUnmount() { diff --git a/src/components/Breadcrumb.vue b/src/components/Breadcrumb.vue index 718be04..84655a6 100644 --- a/src/components/Breadcrumb.vue +++ b/src/components/Breadcrumb.vue @@ -8,7 +8,6 @@