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