当前位置:网站首页>After the uniapp jumps to the page in onlaunch, click the event failure solution
After the uniapp jumps to the page in onlaunch, click the event failure solution
2022-07-07 11:07:00 【Wolf who likes to knock code】
stay onLaunch Redirection in will cause the click event to fail
resolvent :
1、 Add one to the jump function setTimeout, But sometimes setTimeout Jump in function failed
onLaunch() {
setTimeout(() => {
uni.reLaunch({
url: '/pages/user/user'
})
}, 0)
}2、 In the new jump page onLoad Write your own logic
边栏推荐
- From pornographic live broadcast to live broadcast E-commerce
- Ffmpeg record a video command from RTSP
- The fifth training assignment
- 【C#】WinForm运行缩放(变糊)的解决方法
- How much review time does it usually take to take the intermediate soft exam?
- Network engineer test questions and answers in May of the first half of 2022
- 简单易修改的弹框组件
- 2021-04-23
- Wallhaven wallpaper desktop version
- Mendeley -- a free document management tool that automatically inserts references into papers
猜你喜欢
随机推荐
【安装系统】U盘安装系统教程,使用UltraISO制作U盘启动盘
BUUCTF---Reverse---reverse1
软考中级电子商务师含金量高嘛?
2022.7.6DAY598
Wallhaven wallpaper desktop version
Static semantic check of clang tidy in cicd
Monai version has been updated to 0.9. See what new functions it has
The eighth training assignment
Introduction to shell programming
PR Lecture Notes
Unity script generates configurable files and loads
[untitled]
Installation and configuration of slurm resource management and job scheduling system
P1223 queuing for water /1319: [example 6.1] queuing for water
Online hard core tools
想考中级软考,一般需要多少复习时间?
中级网络工程师是什么?主要是考什么,有什么用?
shardingsphere分库分表示例(逻辑表,真实表,绑定表,广播表,单表)
[machine learning 03] Lagrange multiplier method
seata 1.3.0 四種模式解决分布式事務(AT、TCC、SAGA、XA)









