chore[litemall-wx, renard-wx]: 取消下拉刷新

This commit is contained in:
Junling Bu
2019-03-20 10:18:18 +08:00
parent 0cd80acdca
commit 2e2cb601d6
2 changed files with 0 additions and 15 deletions

View File

@@ -21,14 +21,6 @@ Page({
} catch (e) {}
},
onPullDownRefresh() {
wx.showNavigationBarLoading() //在标题栏中显示加载
this.getOrderList();
wx.hideNavigationBarLoading() //完成停止加载
wx.stopPullDownRefresh() //停止下拉刷新
},
getOrderList() {
let that = this;
util.request(api.OrderList, {

View File

@@ -13,13 +13,6 @@ Page({
// 页面初始化 options为页面跳转所带来的参数
},
onPullDownRefresh() {
// wx.showNavigationBarLoading() //在标题栏中显示加载
this.getOrderList();
// wx.hideNavigationBarLoading() //完成停止加载
wx.stopPullDownRefresh() //停止下拉刷新
},
getOrderList() {
wx.showLoading({
title: '加载中',