This commit is contained in:
朱子楚\zhuzi
2023-04-06 00:29:33 +08:00
parent e8460c2409
commit 13abd275b4
4 changed files with 6 additions and 4 deletions

View File

@ -233,7 +233,10 @@ Item {
anchors.fill: parent
onClicked: {
if(type===0){
model.repTap()
if(model.tapFunc){
model.tapFunc()
return
}
if(nav_list.currentIndex !== position){
nav_list.currentIndex = position
model.tap()

View File

@ -14,5 +14,5 @@ QtObject {
property var parent
property int idx
signal tap
signal repTap
property var tapFunc
}

View File

@ -10,5 +10,4 @@ FluObject {
property var parent
property int idx
signal tap
signal repTap
}