From e25251e6fc58b76796ddcb1d35f289bc047897db Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Wed, 16 Nov 2022 16:06:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcAutoTmpl.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcAutoTmpl.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/SrcAutoTmpl.js b/SrcAutoTmpl.js index c73889ee..c6d5d793 100644 --- a/SrcAutoTmpl.js +++ b/SrcAutoTmpl.js @@ -41,9 +41,8 @@ function autoerji(url){ var conts = []; for (let i = 0; i < lists.length; i++) { - log(lists[i]); - let list = pdfa(lists[i],"body&&li");//单线路影片列表 - log(list); + let key = lists[i].indexOf('#id')==-1?t.lists.split(',')[1].replace('#id','body'):t.lists.split(',')[1]; + let list = pdfa(lists[i],key);//单线路影片列表 let cont = []; for (let j = 0; j < list.length; j++) { let contname = pdfh(list[j],"a&&Text");