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

View File

@ -183,7 +183,7 @@ FluWindow {
rightMargin: 10 rightMargin: 10
} }
height: Math.min(textbox.implicitHeight,64) height: Math.min(textbox.implicitHeight,64)
FluMultiLineTextBox{ FluMultilineTextBox{
id:textbox id:textbox
focus:true focus:true
placeholderText: "请输入消息" placeholderText: "请输入消息"

View File

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

View File

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

View File

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