From 1810af3a610869f4ac3afbe70fdf4bfd00d91164 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=AB=E8=B0=B7=E5=89=91=E4=BB=99?= Date: Sun, 12 Jan 2020 02:22:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=90=9C=E7=B4=A2=E7=BB=93?= =?UTF-8?q?=E6=9E=9C=E5=8F=AA=E6=9C=891=E4=B8=AA=E6=97=B6=E4=B8=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.js b/script.js index 17fb1b37..35802390 100644 --- a/script.js +++ b/script.js @@ -585,7 +585,7 @@ function initialize() searchMonList.classList.add("display-none"); searchMonList.innerHTML = ""; - if (searchResult.length>1) + if (searchResult.length>0) { let fragment = document.createDocumentFragment(); //创建节点用的临时空间 searchResult.forEach(function(card){