小程序刷新页面

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/Mr_YanYan/article/details/82771112

场景值:页面有弹层输入框,输入之后,重新请求页面数据,即相当于是刷新按钮。

解决办法:

  • this.onLoad()
  • this.onShow()

猜你喜欢

转载自blog.csdn.net/Mr_YanYan/article/details/82771112