收藏
回答

wx.startPullDownRefresh()在ios有问题

wx.startPullDownRefresh()事件在ios上出现问题,有下拉那动作和动画,但是下拉刷新的事情不执行,在安卓和模拟器上没问题


回答关注问题邀请回答
收藏

4 个回答

  • 白开水
    白开水
    2017-10-10

    你好,请提供一下能复现问题的简单代码示例。

    2017-10-10
    有用 1
    回复
  • 锐
    2017-12-20

    官方都不给个回复

    2017-12-20
    有用
    回复
  • 范怀宇
    范怀宇
    2017-11-23

    一个多月了还没有 fix,太坑了。。。

    2017-11-23
    有用
    回复
  • 锐
    2017-10-10

    onShow: function (e) {

    let that = this;

    if (wx.getStorageSync('homeRefresh')) {

    wx.startPullDownRefresh();

    wx.setStorageSync('homeRefresh', false);

    }



    },

    onPullDownRefresh: function (e) {

    //下拉刷新

    let that = this;

    that.setData({

    page: 1,

    trendsList: [],

    morestatus: true,

    moreHtml: "上拉加载更多",

    }, function (e) {

    that.information();

    that.recommend();

    that.trendsGetData(1, "up");

    })

    },


    2017-10-10
    有用
    回复
登录 后发表内容