小程序 小程序在执行完wx.request方法后如何刷新页面

小程序在执行完wx.request方法后如何刷新页面

在wx.request方法下面 执行this.onShow 方法
注意!!!! 要在js文件中 实现onShow方法 之后在wx.request()方法后面调用
在这里插入图片描述
onShow方法
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_44664329/article/details/109021787