forked from ruoyi/RuoYi-Vue
支持主题风格配置
This commit is contained in:
@@ -56,6 +56,9 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
hasOneShowingChild(children = [], parent) {
|
||||
if (!children) {
|
||||
children = [];
|
||||
}
|
||||
const showingChildren = children.filter(item => {
|
||||
if (item.hidden) {
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user