This commit is contained in:
yumoqing 2026-05-09 16:01:11 +08:00
parent b0412d3259
commit 8eab450509

View File

@ -37,7 +37,7 @@ bricks.WebSocket = class extends bricks.VBox {
} }
on_error(e){ on_error(e){
this.dispatch('onerror'); this.dispatch('onerror');
console.log(error); console.log(e);
} }
on_message(e){ on_message(e){
var d = JSON.parse(e.data); var d = JSON.parse(e.data);