Update: WebSocket支持MicroPython板卡烧录固件及上传程序
This commit is contained in:
@@ -264,7 +264,11 @@ class StatusBarSerial extends PageBase {
|
||||
this.stopRead();
|
||||
this.#timer_ && clearTimeout(this.#timer_);
|
||||
this.#timer_ = null;
|
||||
if (this.isDisposed() || !this.isOpened()) {
|
||||
if (this.isDisposed()) {
|
||||
return;
|
||||
}
|
||||
if (!this.isOpened()) {
|
||||
this.setValue(`${String(error)}\n`);
|
||||
return;
|
||||
}
|
||||
this.setValue(`${this.getValue() + this.#valueTemp_}\n${String(error)}\n`);
|
||||
|
||||
Reference in New Issue
Block a user