diff --git a/example/page/ChatPage.qml b/example/page/ChatPage.qml index 58797e3..0bcbf02 100644 --- a/example/page/ChatPage.qml +++ b/example/page/ChatPage.qml @@ -183,7 +183,7 @@ FluWindow { rightMargin: 10 } height: Math.min(textbox.implicitHeight,64) - FluMultiLineTextBox{ + FluMultilineTextBox{ id:textbox focus:true placeholderText: "请输入消息" diff --git a/src/controls/FluNavigationView.qml b/src/controls/FluNavigationView.qml index 567174d..eca473c 100644 --- a/src/controls/FluNavigationView.qml +++ b/src/controls/FluNavigationView.qml @@ -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() diff --git a/src/controls/FluPaneItem.qml b/src/controls/FluPaneItem.qml index 52408c0..ff99799 100644 --- a/src/controls/FluPaneItem.qml +++ b/src/controls/FluPaneItem.qml @@ -14,5 +14,5 @@ QtObject { property var parent property int idx signal tap - signal repTap + property var tapFunc } diff --git a/src/controls/FluPaneItemExpander.qml b/src/controls/FluPaneItemExpander.qml index 379fa06..ef96e49 100644 --- a/src/controls/FluPaneItemExpander.qml +++ b/src/controls/FluPaneItemExpander.qml @@ -10,5 +10,4 @@ FluObject { property var parent property int idx signal tap - signal repTap }