Closed chenchao6 closed 5 years ago
ios和安卓渲染页面时, recycle-context.js 报错height undefined offsetTop += sizeArray[sizeArray.length - 2].height
offsetTop += sizeArray[sizeArray.length - 2].height
需要改成:
if (sizeArray.length >= 2 ) { offsetTop += sizeArray[sizeArray.length - 2].height || 0 // 加上最后一个数据的高度 } else { offsetTop += itemSize.height }
就能正常运行了
你是用仓库demo跑报错么?如果不是,麻烦提供下https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html
0.1.1 fixed
ios和安卓渲染页面时, recycle-context.js 报错height undefined
offsetTop += sizeArray[sizeArray.length - 2].height
需要改成:
就能正常运行了