fix 侧边栏二级导航缩小图标消失问题
This commit is contained in:
parent
d33bbaf445
commit
3494625723
@ -106,3 +106,8 @@
|
|||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// fix 侧边栏二级导航缩小图标消失问题
|
||||||
|
.el-sub-menu__title {
|
||||||
|
padding-right: unset !important;
|
||||||
|
}
|
||||||
|
|||||||
@ -36,16 +36,16 @@ const props = defineProps({
|
|||||||
// route object
|
// route object
|
||||||
item: {
|
item: {
|
||||||
type: Object,
|
type: Object,
|
||||||
required: true,
|
required: true
|
||||||
},
|
},
|
||||||
isNest: {
|
isNest: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false,
|
default: false
|
||||||
},
|
},
|
||||||
basePath: {
|
basePath: {
|
||||||
type: String,
|
type: String,
|
||||||
default: '',
|
default: ''
|
||||||
},
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
const onlyOneChild = ref({})
|
const onlyOneChild = ref({})
|
||||||
@ -89,7 +89,7 @@ function resolvePath(routePath, routeQuery) {
|
|||||||
let query = JSON.parse(routeQuery)
|
let query = JSON.parse(routeQuery)
|
||||||
return {
|
return {
|
||||||
path: getNormalPath(props.basePath + '/' + routePath),
|
path: getNormalPath(props.basePath + '/' + routePath),
|
||||||
query: query,
|
query: query
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return getNormalPath(props.basePath + '/' + routePath)
|
return getNormalPath(props.basePath + '/' + routePath)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user