Uniapp method to reload data: directly use redirectTo to jump to the current page, the code is [uni.redirectTo({url: `/pages/video/video-info/video-info?vid=$ {vid}`,】.
The operating environment of this tutorial: windows7 system, uni-app2.5.1 version, thinkpad t480 computer.
Recommendation (free): uni-app development tutorial
##How to reload data in uniapp:
Use directlyredirectTo and then jump to the current page
//选择视频集数 selectSeries(e){ let vid=e.currentTarget.dataset.vid uni.redirectTo({ url: `/pages/video/video-info/video-info?vid=${vid}`, }); },
Related free Learning recommendation:php programming (video)
The above is the detailed content of How to reload data in uniapp. For more information, please follow other related articles on the PHP Chinese website!