From 0c455a4ef00974d6cbbef4f3f7f28f04428ddee6 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Tue, 18 Oct 2022 12:53:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcLive.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcLive.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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){