当前位置:网站首页>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
边栏推荐
- 2022.7.3DAY595
- The eighth training assignment
- 【推荐系统 01】Rechub
- 中级软件评测师考什么
- How to get hardware information in unity
- Deconstruction and assignment of variables
- Get pictures through opencv, change channels and save them
- Différences entre les contraintes monotones et anti - monotones
- How to play video on unityui
- Transaction rolled back because it has been marked as rollback only
猜你喜欢
uniCloud
Deep understanding of Apache Hudi asynchronous indexing mechanism
【安装系统】U盘安装系统教程,使用UltraISO制作U盘启动盘
Is the soft test intermediate useful??
uniCloud
[untitled]
2021-05-21
seata 1.3.0 四种模式解决分布式事务(AT、TCC、SAGA、XA)
深入理解Apache Hudi异步索引机制
July 10, 2022 "five heart public welfare" activity notice + registration entry (two-dimensional code)
随机推荐
Unity websocket client
【STM32】实战3.1—用STM32与TB6600驱动器驱动42步进电机(一)
Qtcreator sets multiple qmake
What are the test preparation materials and methods for soft exam information processing technicians?
软考一般什么时候出成绩呢?在线蹬?
【安装系统】U盘安装系统教程,使用UltraISO制作U盘启动盘
從色情直播到直播電商
SQL Server knowledge collection 11: Constraints
[untitled]
[pro test feasible] error while loading shared libraries solution
POJ1821 Fence 题解报告
July 10, 2022 "five heart public welfare" activity notice + registration entry (two-dimensional code)
2021-04-08
BUUCTF---Reverse---reverse1
TypeScript 接口继承
【亲测可行】error while loading shared libraries的解决方案
QT document
Arduino receives and sends strings
[installation system] U disk installation system tutorial, using UltraISO to make U disk startup disk
Go slice comparison