Commit 2e2cb601 authored by Junling Bu's avatar Junling Bu
Browse files

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

parent 0cd80acd
...@@ -21,14 +21,6 @@ Page({ ...@@ -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, {
......
...@@ -13,13 +13,6 @@ Page({ ...@@ -13,13 +13,6 @@ Page({
// 页面初始化 options为页面跳转所带来的参数 // 页面初始化 options为页面跳转所带来的参数
}, },
onPullDownRefresh() {
// wx.showNavigationBarLoading() //在标题栏中显示加载
this.getOrderList();
// wx.hideNavigationBarLoading() //完成停止加载
wx.stopPullDownRefresh() //停止下拉刷新
},
getOrderList() { getOrderList() {
wx.showLoading({ wx.showLoading({
title: '加载中', title: '加载中',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment