feat(projects): 返回顶部功能适配新布局

This commit is contained in:
燕博文
2023-03-14 13:50:23 +08:00
parent 42e6de395f
commit 54e2cb51cf
3 changed files with 3 additions and 27 deletions

View File

@ -30,7 +30,7 @@
<global-footer />
</template>
</admin-layout>
<global-back-top />
<n-back-top :key="theme.scrollMode" :listen-to="`#${app.scrollElId}`" class="z-100" />
<setting-drawer />
</template>
@ -38,15 +38,7 @@
import { AdminLayout } from '@soybeanjs/vue-materials';
import { useAppStore, useThemeStore } from '@/store';
import { useBasicLayout } from '@/composables';
import {
GlobalBackTop,
GlobalContent,
GlobalFooter,
GlobalHeader,
GlobalSider,
GlobalTab,
SettingDrawer
} from '../common';
import { GlobalContent, GlobalFooter, GlobalHeader, GlobalSider, GlobalTab, SettingDrawer } from '../common';
defineOptions({ name: 'BasicLayout' });