fix 侧边栏二级导航缩小图标消失问题

This commit is contained in:
不做码农 2023-02-17 17:30:16 +08:00
parent d33bbaf445
commit 3494625723
2 changed files with 10 additions and 5 deletions

View File

@ -106,3 +106,8 @@
-ms-user-select: none;
user-select: none;
}
// fix 侧边栏二级导航缩小图标消失问题
.el-sub-menu__title {
padding-right: unset !important;
}

View File

@ -36,16 +36,16 @@ const props = defineProps({
// route object
item: {
type: Object,
required: true,
required: true
},
isNest: {
type: Boolean,
default: false,
default: false
},
basePath: {
type: String,
default: '',
},
default: ''
}
})
const onlyOneChild = ref({})
@ -89,7 +89,7 @@ function resolvePath(routePath, routeQuery) {
let query = JSON.parse(routeQuery)
return {
path: getNormalPath(props.basePath + '/' + routePath),
query: query,
query: query
}
}
return getNormalPath(props.basePath + '/' + routePath)