小程序app.js不能直接跳转页面,需要加setTimeout()?

发布于 9 年前作者 xieguiying10685 次浏览最后编辑 9 年前来自 ask

小程序app.js不能直接跳转页面,需要加setTimeout

2 回复
xiuying13
xiuying131 楼6 年前

你好,请提供能复现问题的简单代码片段

https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

--↓↓👍如果觉得有帮助的话请点个【赞】吧(唏嘘也有小尾巴了,可惜是假的)

fanghuang
fanghuang2 楼6 年前

必须加延时器才能跳转