From 51e242217d2b7597e9325d6fd796103e445eb70d Mon Sep 17 00:00:00 2001 From: popcorner <351633+popcorner@user.noreply.gitee.com> Date: Mon, 3 May 2021 16:02:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E8=A7=A6=E5=B1=8F?= =?UTF-8?q?=E7=89=88=E5=B8=A6=E4=B8=8B=E6=8B=89=E5=88=B7=E6=96=B0=E7=9A=84?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E8=A7=A6=E7=A2=B0=E6=8A=A5=E9=94=99=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- upload/static/js/mobile/common.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/upload/static/js/mobile/common.js b/upload/static/js/mobile/common.js index 60f666222..b3c40a2dd 100644 --- a/upload/static/js/mobile/common.js +++ b/upload/static/js/mobile/common.js @@ -816,8 +816,10 @@ var pullrefresh = { return; } } - divobj.remove(); - divobj = null; + if(divobj) { + divobj.remove(); + divobj = null; + } status = false; pos = {}; }); -- Gitee