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); }, /**