This commit is contained in:
yumoqing 2026-05-09 15:59:23 +08:00
parent 58b7eaf289
commit b0412d3259

View File

@ -18,7 +18,7 @@ bricks.WebSocket = class extends bricks.VBox {
super(opts);
if (opts.with_session){
var session = bricks.app.get_session();
this.ws = new WebSocket(this.ws_url, sessopn);
this.ws = new WebSocket(this.ws_url, session);
} else {
this.ws = new WebSocket(this.ws_url);
}