This commit is contained in:
xin
2026-06-03 13:43:27 +08:00
parent 90b1fe2f7a
commit f99647775c
9 changed files with 105 additions and 6 deletions

View File

@ -193,6 +193,7 @@ export default {
btn.disabled = true;
this.buttoncolor.opencombutton="success";
EventBus.emit('showbox',{title:"设备",body:"打开串口成功"});
this.$globalState.isDevOpen=true;
}else
{
btn.disabled = false;
@ -211,6 +212,8 @@ export default {
btnn.disabled = true;
alert(await invoke("closecome"));
this.SerialInfo.isopen=false;
this.$globalState.isDevOpen=false;
},