This commit is contained in:
yumoqing 2024-08-20 17:36:30 +08:00
parent 64360fc964
commit bb05f80bb2

View File

@ -71,6 +71,13 @@ bricks.RTCClient = class extends bricks.VBox {
}
choose_peer(){
var items = [];
if (this.onlineList.length < 1){
var w = new bricks.Error({title:'Error',
timeout:4,
message:'no peer logined'
});
w.open();
}
this.onlineList.forEach( p => {
var m = {
name:p.id,