From 4fddb0da7d8f3c6e730f5ede547c0bbb0bf0365a Mon Sep 17 00:00:00 2001 From: wans <747101512@qq.com> Date: Fri, 26 Jun 2020 16:00:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E6=8B=89=E5=88=B7=E6=96=B0=E5=85=B3?= =?UTF-8?q?=E9=97=AD=E5=8A=A8=E7=94=BB=E6=95=88=E6=9E=9C=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/venue/venue.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pages/venue/venue.js b/pages/venue/venue.js index 77839f1..edfb9a3 100644 --- a/pages/venue/venue.js +++ b/pages/venue/venue.js @@ -79,6 +79,9 @@ Page({ }); }, function(code,data){ app.dialog.msg(data.msg); + },function(){ + wx.hideNavigationBarLoading(); + wx.stopPullDownRefresh(); } ); }, @@ -158,10 +161,6 @@ Page({ orderKey: '', }) this.onLoad(); - setTimeout(() => { - wx.hideNavigationBarLoading() - wx.stopPullDownRefresh() - }, 500); }, /**