This commit is contained in:
朱子楚\zhuzi
2024-04-30 19:27:57 +08:00
parent 91bda2a22c
commit f922978338
5 changed files with 40 additions and 35 deletions

View File

@ -273,7 +273,6 @@ FluContentPage{
}
Component.onCompleted: {
currentIndex=["100","300","500","1000"].findIndex((element) => element === display)
console.debug(textBox)
textBox.forceActiveFocus()
textBox.selectAll()
}
@ -291,7 +290,6 @@ FluContentPage{
anchors.fill: parent
focus: true
Component.onCompleted: {
console.debug("333333")
var data = ["傲来国界花果山水帘洞","傲来国界坎源山脏水洞","大唐国界黑风山黑风洞","大唐国界黄风岭黄风洞","大唐国界骷髅山白骨洞","宝象国界碗子山波月洞","宝象国界平顶山莲花洞","宝象国界压龙山压龙洞","乌鸡国界号山枯松涧火云洞","乌鸡国界衡阳峪黑水河河神府"]
var result = data.map(function(item) {
return {title: item};

View File

@ -15,7 +15,7 @@ FluWindow {
title: "FluentUI"
width: 1000
height: 680
minimumWidth: 1000
minimumWidth: 800
minimumHeight: 200
launchMode: FluWindowType.SingleTask
fitsAppBarWindows: true