diff --git a/mayfly_go_web/src/layout/component/main.vue b/mayfly_go_web/src/layout/component/main.vue index 5cdc41b6..2105d6cc 100644 --- a/mayfly_go_web/src/layout/component/main.vue +++ b/mayfly_go_web/src/layout/component/main.vue @@ -57,7 +57,7 @@ const initCurrentRouteMeta = (meta: object) => { // 设置 main 的高度 const initHeaderHeight = () => { let { isTagsview } = themeConfig.value; - if (isTagsview) return (state.headerHeight = `84px`); + if (isTagsview) return (state.headerHeight = `77px`); else return (state.headerHeight = `50px`); }; // 页面加载前 @@ -67,7 +67,7 @@ onBeforeMount(() => { }); // 监听 themeConfig 配置文件的变化,更新菜单 el-scrollbar 的高度 watch(themeConfig.value, (val) => { - state.headerHeight = val.isTagsview ? '84px' : '50px'; + state.headerHeight = val.isTagsview ? '77px' : '50px'; if (val.isFixedHeaderChange !== val.isFixedHeader) { if (!proxy.$refs.layoutScrollbarRef) return false; proxy.$refs.layoutScrollbarRef.update(); diff --git a/mayfly_go_web/src/views/ops/component/TagTree.vue b/mayfly_go_web/src/views/ops/component/TagTree.vue index 96601b31..1d62b86e 100644 --- a/mayfly_go_web/src/views/ops/component/TagTree.vue +++ b/mayfly_go_web/src/views/ops/component/TagTree.vue @@ -1,53 +1,49 @@