当前位置:网站首页>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
边栏推荐
猜你喜欢

Transaction rolled back because it has been marked as rollback-only解决
![[OneNote] can't connect to the network and can't sync the problem](/img/28/9a02b1da0f43889989a9539c9fb6b6.png)
[OneNote] can't connect to the network and can't sync the problem

Network engineer test questions and answers in May of the first half of 2022

I plan to take part in security work. How about information security engineers and how to prepare for the soft exam?

單調性約束與反單調性約束的區別 monotonicity and anti-monotonicity constraint

PHP \ newline cannot be output

The gun startles the dragon, and the crowd "locks" Zhou Zhi
![[untitled]](/img/c2/d70d052b7e9587dc81c622f62f8566.jpg)
[untitled]

【C#】WinForm运行缩放(变糊)的解决方法

MPX plug-in
随机推荐
A simple example of delegate usage
Static semantic check of clang tidy in cicd
Unity determines whether the mouse clicks on the UI
P2788 math 1 - addition and subtraction
【推荐系统 02】DeepFM、YoutubeDNN、DSSM、MMOE
When initializing 'float', what is the difference between converting to 'float' and adding 'f' as a suffix?
Typescript interface inheritance
[pro test feasible] error while loading shared libraries solution
JSON format query of MySQL
【PyTorch 07】 动手学深度学习——chapter_preliminaries/ndarray 习题动手版
[untitled]
变量的解构赋值
软考中级,软件设计师考试那些内容,考试大纲什么的?
Go slice comparison
PR Lecture Notes
"Dream Cup" 2017 Jiangsu information and future primary school summer camp it expert PK program design questions
[C #] the solution of WinForm operation zoom (blur)
Online hard core tools
SQL Server 知识汇集11 : 约束
Is the soft test intermediate useful??