The error code is as follows: Just look at the key code
TypeError: Cannot read property 'dataset' of undefined
at vi.handleItemTap (index.js? [sm]:58)
at Object.o.safeCallback (WASubContext.js?t=wechat&s=1683529634921&v=2.31.0:1)
at WASubContext.js?t=wechat&s=1683529634921&v=2.31.0:1
at Nn (WASubContext.js?t=wechat&s=1683529634921&v=2.31.0:1)
at WASubContext.js?t=wechat&s=1683529634921&v=2.31.0:1
at _e (WASubContext.js?t=wechat&s=1683529634921&v=2.31.0:1)
at fe (WASubContext.js?t=wechat&s=1683529634921&v=2.31.0:1)
at WASubContext.js?t=wechat&s=1683529634921&v=2.31.0:1
at WAServiceMainContext.js?t=wechat&s=1683529634921&v=2.31.0:1
at o.emit (WAServiceMainContext.js?t=wechat&s=1683529634921&v=2.31.0:1)(env: Windows,mp,1.06.2303220; lib: 2.31.0)
errorReport @ WAServiceMainContext.js?t=wechat&s=1683529634921&v=2.31.0:1
thirdErrorReport @ WAServiceMainContext.js?t=wechat&s=1683529634921&v=2.31.0:1
(anonymous) @ WAServiceMainContext.js?t=wechat&s=1683529634921&v=2.31.0:1
(anonymous) @ WASubContext.js?t=wechat&s=1683529634921&v=2.31.0:1
o.safeCallback @ WASubContext.js?t=wechat&s=1683529634921&v=2.31.0:1
o.call @ WASubContext.js?t=wechat&s=1683529634921&v=2.31.0:1
a @ WASubContext.js?t=wechat&s=1683529634921&v=2.31.0:1
o.safeCallback @ WASubContext.js?t=wechat&s=1683529634921&v=2.31.0:1
(anonymous) @ WASubContext.js?t=wechat&s=1683529634921&v=2.31.0:1
Nn @ WASubContext.js?t=wechat&s=1683529634921&v=2.31.0:1
(anonymous) @ WASubContext.js?t=wechat&s=1683529634921&v=2.31.0:1
_e @ WASubContext.js?t=wechat&s=1683529634921&v=2.31.0:1
fe @ WASubContext.js?t=wechat&s=1683529634921&v=2.31.0:1
(anonymous) @ WASubContext.js?t=wechat&s=1683529634921&v=2.31.0:1
The error code is as follows:
Solution:
It seems that when you write the code later, you should take a closer look and check it!!!