mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
feat(plugin-layout): custom插槽添加menus参数
This commit is contained in:
parent
31e954e322
commit
a10148e187
@ -27,7 +27,7 @@
|
|||||||
<f-layout :fixed="isFixedSidebar" :style="sideStyleRef">
|
<f-layout :fixed="isFixedSidebar" :style="sideStyleRef">
|
||||||
<f-header ref="headerRef" class="layout-header" :fixed="currentFixedHeaderRef">
|
<f-header ref="headerRef" class="layout-header" :fixed="currentFixedHeaderRef">
|
||||||
<div class="layout-header-custom">
|
<div class="layout-header-custom">
|
||||||
<slot name="renderCustom"></slot>
|
<slot name="renderCustom" :menus="menus"></slot>
|
||||||
</div>
|
</div>
|
||||||
<template v-if="locale">
|
<template v-if="locale">
|
||||||
<slot name="locale"></slot>
|
<slot name="locale"></slot>
|
||||||
@ -71,7 +71,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div class="layout-aside-custom">
|
<div class="layout-aside-custom">
|
||||||
<slot name="renderCustom"></slot>
|
<slot name="renderCustom" :menus="menus"></slot>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="locale" class="layout-aside-locale">
|
<div v-if="locale" class="layout-aside-locale">
|
||||||
<slot name="locale"></slot>
|
<slot name="locale"></slot>
|
||||||
@ -106,7 +106,7 @@
|
|||||||
:accordion="menuProps?.accordion"
|
:accordion="menuProps?.accordion"
|
||||||
/>
|
/>
|
||||||
<div class="layout-header-custom">
|
<div class="layout-header-custom">
|
||||||
<slot name="renderCustom"></slot>
|
<slot name="renderCustom" :menus="menus"></slot>
|
||||||
</div>
|
</div>
|
||||||
<template v-if="locale">
|
<template v-if="locale">
|
||||||
<slot name="locale"></slot>
|
<slot name="locale"></slot>
|
||||||
@ -128,7 +128,7 @@
|
|||||||
<div v-if="title" class="logo-name">{{ title }}</div>
|
<div v-if="title" class="logo-name">{{ title }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="layout-header-custom">
|
<div class="layout-header-custom">
|
||||||
<slot name="renderCustom"></slot>
|
<slot name="renderCustom" :menus="menus"></slot>
|
||||||
</div>
|
</div>
|
||||||
<template v-if="locale">
|
<template v-if="locale">
|
||||||
<slot name="locale"></slot>
|
<slot name="locale"></slot>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user