fix(projects): 修复顶部菜单的位置失效问题
This commit is contained in:
parent
5fa822f4d4
commit
4ee0d94f1b
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="flex-1-hidden h-full px-10px">
|
||||
<n-scrollbar :x-scrollable="true" class="flex-1-hidden h-full" content-class="h-full">
|
||||
<div class="flex-y-center h-full">
|
||||
<div class="flex-y-center h-full" :style="{ justifyContent: theme.menu.horizontalPosition }">
|
||||
<n-menu
|
||||
:value="activeKey"
|
||||
mode="horizontal"
|
||||
|
@ -5,9 +5,7 @@
|
||||
<menu-collapse v-if="showMenuCollapse" />
|
||||
<global-breadcrumb v-if="theme.header.crumb.visible" />
|
||||
</div>
|
||||
<div v-else class="flex-1-hidden flex-y-center h-full" :style="{ justifyContent: theme.menu.horizontalPosition }">
|
||||
<header-menu />
|
||||
</div>
|
||||
<header-menu v-else />
|
||||
<div class="flex justify-end h-full">
|
||||
<global-search />
|
||||
<github-site />
|
||||
|
Loading…
Reference in New Issue
Block a user