This commit is contained in:
yumoqing 2026-01-28 13:31:14 +08:00
parent 848225ac45
commit 884f45fc81
2 changed files with 2 additions and 2 deletions

View File

@ -383,7 +383,7 @@ bricks.Popup = class extends bricks.VBox {
}
this.opened = false;
if (this.auto_task){
this.auto_task.cancel();
setTimeout(this.auto_task);
this.auto_task = null;
}
this.set_style('display','none');

View File

@ -55,7 +55,7 @@ bricks.Signaling = class {
reconnect(){
console.log('eror happened');
if (this.hb_task){
this.hb_task.cancel();
clearInterval(this.hb_task);
this.hb_task = null;
}
if (this.onclose){