Compare commits
	
		
			2 Commits 
		
	
	
		
			fe12af4284
			...
			0f9f99063e
		
	
	| Author | SHA1 | Date | 
|---|---|---|
| 
							
							
								 | 
						0f9f99063e | |
| 
							
							
								 | 
						acbbbf3b1a | 
| 
						 | 
					@ -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>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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 = []
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue