lspriv / wx-calendar

微信小程序日历
MIT License
256 stars 44 forks source link

大佬,选定日期的更新方法好像错了,我不确定是不是我用错了 #140

Closed zskangus closed 2 months ago

zskangus commented 2 months ago

<calendar id="calendar" date="2024-6-7" marks="{{ markers }}" bindload="handleLoad" bindclick="handleClick" bindchange="handleChange" bindviewchange="handleViewChange">

TypeError: Cannot read property 'update' of undefined at bi.date (index.js? [sm]:1) at Function.o.safeCallback (WASubContext.js?t=wechat&s=1719400918822&v=3.4.7:1) at h (WASubContext.js?t=wechat&s=1719400918822&v=3.4.7:1) at m (WASubContext.js?t=wechat&s=1719400918822&v=3.4.7:1) at c.doUpdates (WASubContext.js?t=wechat&s=1719400918822&v=3.4.7:1) at Kn (WASubContext.js?t=wechat&s=1719400918822&v=3.4.7:1) at fo (WASubContext.js?t=wechat&s=1719400918822&v=3.4.7:1) at po (WASubContext.js?t=wechat&s=1719400918822&v=3.4.7:1) at po (WASubContext.js?t=wechat&s=1719400918822&v=3.4.7:1) at No.createInstance (WASubContext.js?t=wechat&s=1719400918822&v=3.4.7:1)(env: Windows,mp,1.06.2405010; lib: 3.4.7)

lspriv commented 2 months ago

修复了这个问题,包 @lspriv/wx-calendar@1.7.3-alpha.0