From e83deab7a05ab5ee9f33136e0d90e68d1ea421b1 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Tue, 30 Jan 2024 14:39:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJuPublic.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJuPublic.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SrcJuPublic.js b/SrcJuPublic.js index 5964abcf..3dc1fce3 100644 --- a/SrcJuPublic.js +++ b/SrcJuPublic.js @@ -32,8 +32,8 @@ let yxdatalist = datalist.filter(it=>{ if(jkGroupType=="2"){ runModes = []; yxdatalist.forEach(it=>{ - let grouname = it.group||it.type; - if(runModes.indexOf(grouname)>-1){ + let grouname = it.group || it.type; + if(runModes.indexOf(grouname) == -1){ runModes.push(grouname); } })