From ca2beded19d23743d3d791cebd33cbcd91aa2d01 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Mon, 13 Nov 2023 22:20:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJuSet.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJuSet.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/SrcJuSet.js b/SrcJuSet.js index 93fa4c27..32a39d3b 100644 --- a/SrcJuSet.js +++ b/SrcJuSet.js @@ -911,7 +911,6 @@ function JYimport(input,ruleTitle) { data['updatetime'] = data['updatetime'] || $.dateFormat(new Date(),"yyyy-MM-dd HH:mm:ss"); let index = datalist.findIndex(item => item.name == data.name && item.type==data.type); if (index>-1) { - log(datalist[index].name); //存在时,做对应处理 if(Juconfig['ImportType']=="Skip"){ //跳过,啥也不做 @@ -922,7 +921,6 @@ function JYimport(input,ruleTitle) { } }else{ //默认是覆盖已存在的 - //let index = datalist.indexOf(datalist.filter(d => d.name == data.name && d.type==data.type)[0]); datalist.splice(index, 1); datalist.push(data); num = num + 1;