mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-23 19:20:59 +08:00
update
This commit is contained in:
parent
e8460c2409
commit
13abd275b4
@ -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: "请输入消息"
|
||||||
|
@ -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()
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
@ -10,5 +10,4 @@ FluObject {
|
|||||||
property var parent
|
property var parent
|
||||||
property int idx
|
property int idx
|
||||||
signal tap
|
signal tap
|
||||||
signal repTap
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user