uni-app life cycle (the drop-down unresolved)

The life cycle

<script>
export default {
 data: {
  title: 'Hello'
 },
 onLoad:function(e){
  console.log("onLoad");
 },
 onHide:function(e){
  console.log("onHide");
 },
 onShow:function(e){
  console.log("onShow");
 },
 onPullDownRefresh :function(e){
  console.log('onPullDownRefresh')
   //下拉事件不好使 
 },
 onReachBottom:function(e){
  console.log('onReachBottom')
}
}
</script>

  Now the drop-down event does not help, configured in page.join added

"window": {
    "enablePullDownRefresh": true
}

  It does not work, there is no resolve, and I also page.join in another location to add a "enablePullDownRefresh": true nor so that, this problem has not been solved

Guess you like

Origin www.cnblogs.com/wo1ow1ow1/p/10991145.html