createIntersectionObserver 在自定义组件中调用?

发布于 7 年前作者 uhe8911 次浏览最后编辑 7 年前来自 ask

在自定义组件中使用createIntersectionObserver  报错Node \“#elementName\” is not found. Intersection observer will not trigger.这个是哪里调用错误么

1 回复
suyang
suyang1 楼5 年前

你好,麻烦提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html