mirror of
https://gitee.com/lyt-top/vue-next-admin
synced 2026-06-07 02:12:14 +08:00
19 lines
557 B
Vue
19 lines
557 B
Vue
<template>
|
|
<el-header class="layout-header" v-show="!isTagsViewCurrenFull">
|
|
<NavBarsIndex />
|
|
</el-header>
|
|
</template>
|
|
|
|
<script setup name="layoutHeader">
|
|
import { defineAsyncComponent } from 'vue';
|
|
import { storeToRefs } from 'pinia';
|
|
import { useTagsViewRoutes } from '/@/stores/tagsViewRoutes';
|
|
|
|
// 引入组件
|
|
const NavBarsIndex = defineAsyncComponent(() => import('/@/layout/navBars/index.vue'));
|
|
|
|
// 定义变量内容
|
|
const storesTagsViewRoutes = useTagsViewRoutes();
|
|
const { isTagsViewCurrenFull } = storeToRefs(storesTagsViewRoutes);
|
|
</script>
|