From 44f5fadd6a669405cd8a7608aa510bd62688a750 Mon Sep 17 00:00:00 2001 From: wyg <wu1555611@163.com> Date: 星期一, 17 六月 2024 11:35:11 +0800 Subject: [PATCH] 去除若依化 --- src/layout/components/AppMain.vue | 18 ++++++++---------- 1 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue index a25c562..72b77da 100644 --- a/src/layout/components/AppMain.vue +++ b/src/layout/components/AppMain.vue @@ -10,29 +10,27 @@ </template> <script> -import iframeToggle from "./IframeToggle/index" +import iframeToggle from "./IframeToggle/index"; export default { - name: 'AppMain', + name: "AppMain", components: { iframeToggle }, computed: { cachedViews() { - return this.$store.state.tagsView.cachedViews + return this.$store.state.tagsView.cachedViews; }, key() { - return this.$route.path - } - } -} + return this.$route.path; + }, + }, +}; </script> <style lang="scss" scoped> .app-main { /* 50= navbar 50 */ - min-height: calc(100vh - 50px); + height: calc(100vh - 84px); width: 100%; - position: relative; - overflow: hidden; } .fixed-header + .app-main { -- Gitblit v1.9.3