test
This commit is contained in:
@ -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;
|
||||
|
||||
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user