From e1c942dc7bf15e16754bce311389d3f5d8eaaa32 Mon Sep 17 00:00:00 2001 From: buvta <12312540+buvta@users.noreply.github.com> Date: Thu, 31 Dec 2020 19:16:02 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=87=E6=BB=A4=E6=8E=89=E6=97=A0=E6=95=88?= =?UTF-8?q?=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/site/tools.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/site/tools.js b/src/lib/site/tools.js index 735b775..52d63d2 100644 --- a/src/lib/site/tools.js +++ b/src/lib/site/tools.js @@ -256,7 +256,7 @@ const zy = { fullList.push( { flag: i._flag, - list: i._t.split('#') + list: i._t.split('#').filter(e => e && e.split('$')[1] && e.split('$')[1].startsWith('http')) } ) } @@ -264,7 +264,7 @@ const zy = { fullList.push( { flag: dd._flag, - list: dd._t.split('#') + list: dd._t.split('#').filter(e => e && e.split('$')[1] && e.split('$')[1].startsWith('http')) } ) }