This commit is contained in:
朱子楚\zhuzi
2023-06-25 23:17:44 +08:00
parent e1096b8e22
commit 059a1b17cc
9 changed files with 130 additions and 25 deletions

View File

@ -48,9 +48,9 @@ FluContentPage{
Component{
id:com_combobox
FluComboBox {
anchors.fill: parent
focus: true
currentIndex: display
editable: true
model: ListModel {
@ -63,8 +63,9 @@ FluContentPage{
currentIndex=[100,300,500,1000].findIndex((element) => element === Number(display))
selectAll()
}
TableView.onCommit: {
onCommit: {
display = editText
tableView.closeEditor()
}
}
}
@ -97,8 +98,7 @@ FluContentPage{
{
title: '别名',
dataIndex: 'nickname',
width:100,
width:100
}
]
}