From b119960a36fbe144735f15be79f817e269e684db Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 20 Aug 2024 18:41:39 +0800 Subject: [PATCH] bugfix --- bricks/rtc.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bricks/rtc.js b/bricks/rtc.js index 54c7839..3740001 100644 --- a/bricks/rtc.js +++ b/bricks/rtc.js @@ -97,7 +97,9 @@ bricks.RTCClient = class extends bricks.VBox { this.menu = menu; } call_peer(event){ - bricks.Body.remove(this.menu); + console.log('event params=', event.params); + this.menu.dismiss(); + // bricks.Body.remove_widget(this.menu); var peer_info = { id:event.params.name, name:event.params.label