createIntersectionObserver 相关
发布于 6 年前 作者 shaoyan 7010 次浏览 来自 问答

在页面onload时,利用wx.createIntersectionObserver创建后,然后在onHide时,再调用一遍wx.createIntersectionObserver时,会跑错:Relative nodes cannot be added after “observe” call in IntersectionObserve

希望得到解答,是哪里的问题

微信版本和基础库版本,随便填的。是在模拟器上的错误,真机还没调试

1 回复

onHide的时候,都销毁了。。还会触发交互监听吗?

回到顶部