添加ota cdc串口打开失败后继续尝试。

This commit is contained in:
luocai
2024-08-14 19:51:37 +08:00
parent 219c68ea45
commit a2a79ac084
5 changed files with 32 additions and 4 deletions

View File

@ -151,12 +151,19 @@ Item {
TextField {
id: imagePath
Layout.columnSpan: 2
implicitWidth: 180
implicitWidth: 200
placeholderText: "请选择图片"
onPressed: {
fileDialog.open()
}
}
Text {
text: qsTr("用户姓名")
}
TextField {
id: imageEnrollName
implicitWidth: 100
}
Button {
text: "注册"
onClicked: App.uploadImage(imagePath.text, 0)

View File

@ -5,7 +5,7 @@ import Analyser
Window {
width: 1120
height: 680
height: 700
visible: true
title: qsTr(Qt.application.name + " " + Qt.application.version)