mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
22 lines
482 B
Vue
22 lines
482 B
Vue
<template>
|
|
<div v-if="theme.fixedHeaderAndTab" :style="{ height: headerAndMultiTabHeight }"></div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { useThemeStore } from '@/store';
|
|
import { useLayoutConfig } from '@/composables';
|
|
|
|
interface Props {
|
|
/** 去除tab的高度 */
|
|
removeTab?: boolean;
|
|
}
|
|
|
|
withDefaults(defineProps<Props>(), {
|
|
removeTab: false
|
|
});
|
|
|
|
const theme = useThemeStore();
|
|
const { headerAndMultiTabHeight } = useLayoutConfig();
|
|
</script>
|
|
<style scoped></style>
|