zb-admin/src/layout/components/Header/components/Height.vue

11 lines
360 B
Vue

<template>
<div v-if="themeConfig.fixedHeader" :style="{ height: `${themeConfig.showTag ? 90 : 50}px` }"> </div>
</template>
<script lang="ts" setup>
import { computed } from 'vue'
import { useSettingStore } from '@/store/modules/setting'
const SettingStore = useSettingStore()
const themeConfig = computed(() => SettingStore.themeConfig)
</script>