From bc2dcc1489f3fba0ee281da40a4f594d0d271632 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sun, 26 May 2024 07:48:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJuying.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJuying.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/SrcJuying.js b/SrcJuying.js index d4da2210..4b781462 100644 --- a/SrcJuying.js +++ b/SrcJuying.js @@ -99,6 +99,7 @@ function dianboerji() { let markData = {surl: jkdata.url, url: url, data: erdata} writeFile(cacheDataFile, JSON.stringify(markData)); } + log(erdata); let details1 = erdata.details1; @@ -206,11 +207,11 @@ function dianboerji() { } } setTabs(erdata.tabs, lineId); - + log(erdata.tabs); //选集部份 function setLists(lists, index) { let type = jkdata.type; - let list = lists[index]; + let list = lists[index] || []; function playlist(lx, col_type) {//定义选集列表生成 if (lx == '1') { let playtitle = list[j].split('$')[0].trim(); @@ -309,8 +310,6 @@ function dianboerji() { } } } - log(erdata.lists); - log(lineindex); setLists(erdata.lists, lineindex); //底部说明