Mini Program: there is a drop-down action but does not trigger the onPullDownRefresh function

has a drop-down action but does not trigger the onPullDownRefresh function
is also configured in the json file of the current page

{
      "onReachBottomDistance": 50,
      "enablePullDownRefresh": true
}

also did not use scroll

<view style="margin-top:64rpx;">
    <view>
        <view class="ljh-signUp-list" wx:for="{{signlist}}" wx:for-item="item" wx:key="">
          <view class="ljh-signUp-left">
            <image src="{{item.avatar_url}}" mode="aspectFit"></image>
            {{item.nickname}}
          </view>
          <view class="ljh-signUp-right">
          {{item.sdate}}
          </view>
        </view>
    </view>
  </view>    

does anyone have the same problem as me

Dec.16,2021

The onPullDownRefresh function should also be set in

js.

for example:

onPullDownRefresh: function () {
    // Do something when pull down.
    // wx.showNavigationBarLoading()
    console.log('index ')
    // wx.hideNavigationBarLoading()
    wx.stopPullDownRefresh()
  }
Menu