fix: 新增报表仪表盘隐藏头部

develop
TangShan_DD 2025-06-03 09:44:58 +08:00
parent 99f261117f
commit acbbbf3b1a
2 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
/** * Created by HaijunZhang on 2019/12/18. */ /** * Created by HaijunZhang on 2019/12/18. */
<template> <template>
<a-layout-header class="common-header" :style="style"> <a-layout-header class="common-header" :style="style" v-if="$route.name !== 'Designer'">
<div class="header-logo"> <div class="header-logo">
<img :src="pageConfigs.headerLogo" alt="" class="pull-left" /> <img :src="pageConfigs.headerLogo" alt="" class="pull-left" />
</div> </div>
@ -26,7 +26,7 @@ export default defineComponent({
RightContent, RightContent,
Divider, Divider,
HeaderMenu, HeaderMenu,
HomeOutlined, HomeOutlined
}, },
setup() { setup() {
const store = useStore() const store = useStore()
@ -34,14 +34,14 @@ export default defineComponent({
const style = computed(() => { const style = computed(() => {
return { return {
backgroundColor: pageConfigs.value.headerBgColour, backgroundColor: pageConfigs.value.headerBgColour,
color: pageConfigs.value.headerFontColour, color: pageConfigs.value.headerFontColour
} }
}) })
return { return {
pageConfigs, pageConfigs,
style, style
}
} }
},
}) })
</script> </script>

View File

@ -74,7 +74,7 @@ export default {
} }
// //
const isShow = () => { const isShow = () => {
return !['/sms-web/resource_dashboard', '/screen/list', '/redirect'].includes(route.path) return !['/sms-web/resource_dashboard', '/screen/list', '/redirect', '/report/designer'].includes(route.path)
} }
const getFixTags = (routes) => { const getFixTags = (routes) => {
const tags = [] const tags = []