Description
wepy 中新建两个页面,index页面data中绑定400K数据,detail页面是空的页面,
index页面中放一个按钮,点击按钮wx.navigateTo detail页面。
从index页点击按钮跳转到detail页,然后detail页面上点击左上角返回箭头返回到index页面。
重复操作7,8次后,页面跳转会出现变慢卡顿。然后经常是 首页卡住不跳转然后多点击几次按钮,过了一会儿回连续跳转到多个detail页面。
监测小程序的性能数据中的【页面切换耗时】,发现这个时间会从200ms 慢慢涨到 2000ms。偶尔回出现小程序崩掉的情况。
用原生方式做过测试,没有这样的问题。
[Description of the issue]
Environment
Platform: [iOS]
Platform version: [10.13.3]
Wechat version: [6.6.7]
wepy-cli version: [1.7.3]
wepy version: [^1.6.0]
Reproduce
代码很简单:
wechatide://minicode/px9zTsmx77xq
Observed Results
多次操作后变慢或页面死掉
Expected Results
切换页面时跟原生一样顺滑,不出现卡顿
[Expected Results]
Relevant Code / Logs
// TODO(you): code or logs here to reproduce the problem
// 可以使用小程序代码片段功能,方便其它人帮助你定位代码问题
// 详情可参考这里:https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html
```