feat: 全局布局组件升级到3.3.5

This commit is contained in:
TsMask
2024-06-03 11:42:42 +08:00
parent 1db61a5d4e
commit 2e7514d3ca
7 changed files with 26 additions and 38 deletions

View File

@@ -4,7 +4,7 @@ import {
WaterMark,
getMenuData,
clearMenuItem,
MenuDataItem,
type MenuDataItem,
} from 'antdv-pro-layout';
import RightContent from './components/RightContent.vue';
import Tabs from './components/Tabs.vue';
@@ -224,11 +224,9 @@ onUnmounted(() => {
v-model:selectedKeys="layoutState.selectedKeys"
v-model:openKeys="layoutState.openKeys"
:menu-data="menuData"
:breadcrumb="{ routes: breadcrumb } as any"
disable-content-margin
:breadcrumb="{ routes: breadcrumb } as any"
v-bind="proConfig"
:iconfont-url="scriptUrl"
:sider-width="208"
:iconfont-url="scriptUrl"
:locale="(fnLocale as any)"
>
<!--插槽-菜单头-->
@@ -265,7 +263,7 @@ onUnmounted(() => {
<template #headerContentRender></template>
<!--插槽-顶部右侧-->
<template #rightContentRender>
<template #headerContentRightRender>
<RightContent />
</template>
@@ -360,7 +358,7 @@ onUnmounted(() => {
z-index: 16;
margin: 0px;
width: auto;
margin-top: 52px;
margin-top: 32px;
&-fixed {
position: fixed;
bottom: 0;