From 6544005d0368fa034dac10cda8a8ee8239720fbb Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Tue, 2 Jul 2024 11:19:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJyPublic.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJyPublic.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/SrcJyPublic.js b/SrcJyPublic.js index 9064d4c7..36fe43bd 100644 --- a/SrcJyPublic.js +++ b/SrcJyPublic.js @@ -90,13 +90,15 @@ function getDatas(lx, isyx) { arr = obj; } } - datalist.push(arr); + if(arr){ + datalist.push(arr); + } }) }catch(e){} } } } - log(datalist); + datalist.reverse(); // 禁用的放到最后 let withoutStop = datalist.filter(item => !item.stop);