tdesign-miniprogram icon indicating copy to clipboard operation
tdesign-miniprogram copied to clipboard

[date-time-picker] 控制台报错

Open HuiDreamer opened this issue 1 year ago • 2 comments

tdesign-miniprogram 版本

1.4.4

重现链接

No response

重现步骤

再不开启编译worklet代码时,报错如下且无法弹窗选择日期: VM1061:11 页面【miniprogram_npm/tdesign-miniprogram/date-time-picker/date-time-picker]错误: TypeError: Cannot read property 'extend' of undefined at date-time-picker.js? [sm]:15 at WASubContext.js?t=wechat&s=1719560287985&v=3.4.0:1 at p.runWith (WASubContext.js?t=wechat&s=1719560287985&v=3.4.0:1) at V (WASubContext.js?t=wechat&s=1719560287985&v=3.4.0:1) at :8:5 at WASubContext.js?t=wechat&s=1719560287985&v=3.4.0:1 at WASubContext.js?t=wechat&s=1719560287985&v=3.4.0:1 at Kr (WASubContext.js?t=wechat&s=1719560287985&v=3.4.0:1) at WASubContext.js?t=wechat&s=1719560287985&v=3.4.0:1 at As.batchInjectComponents (WASubContext.js?t=wechat&s=1719560287985&v=3.4.0:1)(env: Windows,mp,1.06.2405020; lib: 3.4.0) 在开启编译worklet代码时,可以正常使用,但是进入页面时会明显变慢

期望结果

No response

实际结果

No response

基础库版本

3.4.0

补充说明

No response

HuiDreamer avatar Jun 28 '24 08:06 HuiDreamer

👋 @HuiDreamer,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

github-actions[bot] avatar Jun 28 '24 08:06 github-actions[bot]

@HuiDreamer 我们的组件库目前还没有使用 worklet,理论上并不需要开启"编译worklet代码"配置,下面是该组件完整的组件示例代码片段,你可以先导入试试,https://developers.weixin.qq.com/s/Am6VDimq73SP

anlyyao avatar Jul 02 '24 07:07 anlyyao

请勿开启 “使用 SWC 编译脚本文件”

Hi-Alan avatar May 14 '25 11:05 Hi-Alan

收到反馈,我们将统一在 #3646 处理

anlyyao avatar May 15 '25 04:05 anlyyao