Browse Source

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

Junling Bu 6 years ago
parent
commit
2e2cb601d6

+ 0 - 8
litemall-wx/pages/ucenter/order/order.js

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

+ 0 - 7
renard-wx/pages/ucenter/order/order.js

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