uni-app 百度小程序 swiper 列表点击报[Lifecycle Fail] call Page.onUnload method fail

uni-app 百度小程序 swiper 列表点击报[Lifecycle Fail] call Page.onUnload method fail

开发环境 版本号 项目创建方式
Windows win10 HBuilderX
### 示例代码:

见附件

### 操作步骤:

见附件

### 预期结果:

点击应该能正确进入内容页,不应该报错

### 实际结果:

menu1下的列表点击就会出错,然后跳转回来

### bug描述:

![image](https://www.temmokumvc.com/attachment/1.png)

swiper menu1下的列表就会出错,但是其它menu下列表点击却能进入

更多关于uni-app 百度小程序 swiper 列表点击报[Lifecycle Fail] call Page.onUnload method fail的实战教程也可以访问 https://www.itying.com/category-93-b0.html

2 回复

你的@touchend里没判断点击,导致同时跳转详情页和首页
另外你这toucheEnd里写的逻辑似乎没用,直接注释掉就好了。

更多关于uni-app 百度小程序 swiper 列表点击报[Lifecycle Fail] call Page.onUnload method fail的实战教程也可以访问 https://www.itying.com/category-93-b0.html


非常感谢

回到顶部