Taro3.6.2 虚拟列表在支付宝小程序中报错 #13442
Labels
A-components-advanced
Area - 高阶组件
F-react
Framework - React
T-alipay
Target - 编译到支付宝小程序
V-3
Version - 3.x
相关平台
支付宝小程序
小程序基础库: 2.8.3
使用框架: React
复现步骤
使用上述代码在微信小程序的开发者工具上打开可以正常显示,但在支付宝小程序中打开报错。
微信中:
支付宝中:
期望结果
VirtualList虚拟列表组件可以在支付宝小程序中正常使用
实际结果
引入后报错:
taro.js:2304 Uncaught TypeError: Cannot set property default of # which has only a getter
at Object.node_modulesTarojsComponentsVirtualListIndexJs (VM348 index.worker.js:53540:31)
at webpack_require (VM348 index.worker.js:29620:47)
at Object.node_modulesBabelLoaderLibIndexJsRuleSet1Rules5Use0SrcPagesPackageAIntroductionIndexTsx (VM152 index.worker.js:13397:96)
at webpack_require (VM348 index.worker.js:29620:47)
at Object.srcPagesPackageAIntroductionIndexTsx (VM152 index.worker.js:13466:138)
at webpack_require (VM348 index.worker.js:29620:47)
at webpack_exec (VM152 index.worker.js:14182:16)
at eval (VM152 index.worker.js:14185:16)
at Function.DP7x.webpack_require.O (VM348 index.worker.js:29664:37)
at eval (VM152 index.worker.js:14187:59)
环境信息
补充信息
测试该组件在微信小程序中是可以正常使用的
The text was updated successfully, but these errors were encountered: