main
zhuzihcu 2023-06-08 14:01:18 +08:00
parent 6d7366f74c
commit e4f02f50ca
1 changed files with 6 additions and 2 deletions

View File

@ -301,7 +301,6 @@ Item {
} }
} }
} }
} }
Component{ Component{
id:com_panel_item id:com_panel_item
@ -314,7 +313,12 @@ Item {
} }
} }
clip: true clip: true
height: visible ? 38 : 0 height: {
if(model.parent){
return model.parent.isExpand ? 38 : 0
}
return 38
}
visible: { visible: {
if(model.parent){ if(model.parent){
return model.parent.isExpand ? true : false return model.parent.isExpand ? true : false