mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-07-05 09:35:28 +08:00
update
This commit is contained in:
@ -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()
|
||||
|
@ -14,5 +14,5 @@ QtObject {
|
||||
property var parent
|
||||
property int idx
|
||||
signal tap
|
||||
signal repTap
|
||||
property var tapFunc
|
||||
}
|
||||
|
@ -10,5 +10,4 @@ FluObject {
|
||||
property var parent
|
||||
property int idx
|
||||
signal tap
|
||||
signal repTap
|
||||
}
|
||||
|
Reference in New Issue
Block a user