fix: 🐛 折叠/打开侧边栏菜单按钮样式调整

Former-commit-id: 451a2f4b1f7300ab48cd049ceb362b53ea96692b
This commit is contained in:
hxr
2023-10-22 23:55:20 +08:00
parent 94b9e7b1a8
commit e6fbdbd322
5 changed files with 26 additions and 21 deletions

View File

@@ -84,7 +84,7 @@ function resolvePath(routePath: string) {
</script>
<template>
<div v-if="!item.meta || !item.meta.hidden">
<!-- 无子路由 || 一个子路由始终显示 alwaysShow = false 情况 -->
<!-- 无子路由 || 目录只有一个子路由并配置始终显示为否(alwaysShow=false) -->
<template
v-if="
hasOneShowingChild(item.children, item) &&