diff --git a/SrcLive.js b/SrcLive.js index dd16efc0..cb14bcaf 100644 --- a/SrcLive.js +++ b/SrcLive.js @@ -101,8 +101,9 @@ function Live() { return item.group==grouplist[i]; }) if(lists.length>0){ + let groupname = grouplist[i].trim()?grouplist[i]:"无分组"; d.push({ - title: index==0?'‘‘’’'+grouplist[i]:grouplist[i], + title: index==0?'‘‘’’'+groupname:groupname, url: $('#noLoading#').lazyRule((grouplist,groupname,guanlidata,datalist,JYlivefile) => { for(let i in grouplist){ if(grouplist[i]==groupname){ @@ -156,10 +157,10 @@ function Live() { } },groupname,JYlivefile) } - },grouplist,grouplist[i],guanlidata,lists,JYlivefile), + },grouplist,groupname,guanlidata,lists,JYlivefile), col_type: "scroll_button", extra: { - id: grouplist[i] + id: groupname } }); if(index==0){