bdqh-software-maintenance-e.../src/render/layout/absolute/FixHeader.vue

17 lines
474 B
Vue

<template>
<RootLayout>
<n-layout-header position="absolute" v-bind="$attrs.headerAttrs">
<slot name="header"></slot>
</n-layout-header>
<n-layout-content position="absolute" v-bind="$attrs.contentAttrs">
<slot name="default"></slot>
</n-layout-content>
</RootLayout>
</template>
<script setup lang="ts">
import { NLayoutHeader, NLayoutContent } from 'naive-ui'
import { default as RootLayout } from '@/layout/absolute/Root.vue'
</script>