使用"lazyCodeLoading": "requiredComponents"时,组件在真机上无法滑动
控制台报错:
Component "miniprogramnpm/tdesign-miniprogram/swipe-cell/swipe-cell" does not have a method "function(...e){const o=gdc(e,void 0===t?"nv":void 0),r=n.apply(i,o);return gdc(r,t)}" to handle event "touchstart".
Component "miniprogramnpm/tdesign-miniprogram/swipe-cell/swipe-cell" does not have a method "function(...e){const o=gdc(e,void 0===t?"nv":void 0),r=n.apply(i,o);return gdc(r,t)}" to handle event "touchmove".
Component "miniprogramnpm/tdesign-miniprogram/swipe-cell/swipe-cell" does not have a method "function(...e){const o=gdc(e,void 0===t?"nv":void 0),r=n.apply(i,o);return gdc(r,t)}" to handle event "touchend".
tdesign-miniprogram 版本
1.2.9
重现链接
No response
重现步骤
1.index. json: "usingComponents": { "t-swipe-cell": "tdesign-miniprogram/swipe-cell/swipe-cell" }
你点击了${detail.text}
, icon: 'none' }); }, 4.app.json "lazyCodeLoading": "requiredComponents"期望结果
使用"lazyCodeLoading": "requiredComponents"时,组件在真机上也能正常使用
实际结果
使用"lazyCodeLoading": "requiredComponents"时,组件在真机上无法滑动 控制台报错: Component "miniprogramnpm/tdesign-miniprogram/swipe-cell/swipe-cell" does not have a method "function(...e){const o=gdc(e,void 0===t?"nv":void 0),r=n.apply(i,o);return gdc(r,t)}" to handle event "touchstart". Component "miniprogramnpm/tdesign-miniprogram/swipe-cell/swipe-cell" does not have a method "function(...e){const o=gdc(e,void 0===t?"nv":void 0),r=n.apply(i,o);return gdc(r,t)}" to handle event "touchmove". Component "miniprogramnpm/tdesign-miniprogram/swipe-cell/swipe-cell" does not have a method "function(...e){const o=gdc(e,void 0===t?"nv":void 0),r=n.apply(i,o);return gdc(r,t)}" to handle event "touchend".
基础库版本
No response
补充说明
No response