微信小程序下拉刷新真机无法弹回

在下拉函数里加上这句wx.stopPullDownRefresh();

/**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {
    var that = this;
    // console.log(111)
    that.getDetails()//获取详情
    wx.stopPullDownRefresh();
  },
posted @ 2019-08-27 16:17  qcjdp  阅读(327)  评论(0编辑  收藏  举报

Bill

Jerry

Evil