当前位置:网站首页>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
边栏推荐
- July 10, 2022 "five heart public welfare" activity notice + registration entry (two-dimensional code)
- PR Lecture Notes
- The difference between monotonicity constraint and anti monotonicity constraint
- SQL Server 知识汇集11 : 约束
- 【推荐系统 01】Rechub
- IDEA快捷键大全
- When initializing 'float', what is the difference between converting to 'float' and adding 'f' as a suffix?
- 【C#】WinForm运行缩放(变糊)的解决方法
- POJ1821 Fence 题解报告
- 【STM32】实战3.1—用STM32与TB6600驱动器驱动42步进电机(一)
猜你喜欢
P2788 math 1 - addition and subtraction
2021 summary and 2022 outlook
Wallhaven wallpaper desktop version
The difference between monotonicity constraint and anti monotonicity constraint
软考中级有用吗??
從色情直播到直播電商
[STM32] actual combat 3.1 - drive 42 stepper motors with STM32 and tb6600 drivers (I)
高级软考(网络规划设计师)该如何备考?
Vscode 尝试在目标目录创建文件时发生一个错误:拒绝访问【已解决】
Unity script generates configurable files and loads
随机推荐
BUUCTF---Reverse---reverse1
变量的解构赋值
Go-Redis 中间件
SQL Server 知识汇集11 : 约束
Bookmarking - common website navigation for programmers
July 10, 2022 "five heart public welfare" activity notice + registration entry (two-dimensional code)
Project ERROR: Unknown module(s) in QT: core gui
香橙派OrangePi 4 LTS开发板通过Mini PCIE连接SATA硬盘的操作方法
Network foundation (1)
A simple example of delegate usage
Monai version has been updated to 0.9. See what new functions it has
Go slice comparison
Introduction to shell programming
Long list performance optimization scheme memo
Ffmpeg record a video command from RTSP
Kitex retry mechanism
Cluster task scheduling system lsf/sge/slurm/pbs based on HPC scenario
长列表性能优化方案 memo
The seventh training assignment
Installation and configuration of slurm resource management and job scheduling system