From f97f9e1448cfe69f3a29c8b57ab43b08885e752f Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Mon, 3 Apr 2023 14:38:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJuman.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJuman.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/SrcJuman.js b/SrcJuman.js index 6e4364ef..c3e34421 100644 --- a/SrcJuman.js +++ b/SrcJuman.js @@ -58,9 +58,15 @@ function yiji() { d.push({ col_type: 'line' }) + /* let sourcedata = datalist.length>0?datalist.filter(it=>{ return it.name==sourcename&&it.parse; }):[]; + */ + let sourcedata = datalist.filter(it=>{ + return it.name==sourcename&&it.parse; + }); + log(sourcedata); if(sourcedata.length==0){ d.push({ title: "请先配置一个主页源",