mp-slideview性能问题及日志输出问题?
发布于 5 年前 作者 nahao 14053 次浏览 来自 官方Issues

重现代码片段:

https://developers.weixin.qq.com/s/tqmZCBm17PkE

页面渲染很慢,有很多这样的log

appservice.js:1485 right res {id: “”, dataset: {…}, left: 0, right: 320, top: 38392, …}

appservice.js:1485 right res {id: “”, dataset: {…}, left: 0, right: 320, top: 38505, …}

appservice.js:1485 right res {id: “”, dataset: {…}, left: 0, right: 320, top: 38580, …}

appservice.js:1485 right res {id: “”, dataset: {…}, left: 0, right: 320, top: 38674, …}

appservice.js:1485 right res {id: “”, dataset: {…}, left: 0, right: 320, top: 38768, …}

appservice.js:1485 right res {id: “”, dataset: {…}, left: 0, right: 320, top: 38862, …}

appservice.js:1485 right res {id: “”, dataset: {…}, left: 0, right: 320, top: 38956, …}

appservice.js:1485 btn rects [{…}]

appservice.js:1485 btn rects [{…}]

appservice.js:1485 btn rects [{…}]

appservice.js:1485 btn rects [{…}]

appservice.js:1485 btn rects [{…}]

appservice.js:1485 btn rects [{…}]

appservice.js:1485 btn rects [{…}]

appservice.js:1485 btn rects [{…}]

appservice.js:1485 btn rects [{…}]

appservice.js:1485 btn rects [{…}]

appservice.js:1485 btn rects [{…}]

appservice.js:1485 btn rects [{…}]

appservice.js:1485 btn rects [{…}]

appservice.js:1485 btn rects [{…}]

appservice.js:1485 btn rects [{…}]

appservice.js:1485 btn rects [{…}]

appservice.js:1485 btn rects [{…}]

appservice.js:1485 btn rects [{…}]

appservice.js:1485 btn rects [{…}]

appservice.js:1485 btn rects [{…}]

appservice.js:1485 btn rects [{…}]

appservice.js:1485 btn rects [{…}]

appservice.js:1485 btn rects [{…}]

appservice.js:1485 btn rects [{…}]

appservice.js:1485 btn rects [{…}]

1 回复

https://developers.weixin.qq.com/s/tqmZCBm17PkE

首页列表中使用slideview,发现渲染很慢!控制台很多log。

如果一次加载100条甚至更多数据的时候,更加明显。

回到顶部