Home > Web Front-end > uni-app > body text

How to reload data in uniapp

coldplay.xixi
Release: 2023-01-13 00:44:23
Original
9898 people have browsed it

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}`,】.

How to reload data in uniapp

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 directly

redirectTo 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}`,
    });
},
Copy after login

Usage scenarios, video selection

How to reload data in uniapp

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!