-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
覆盖物绑定响应式数据,造成内存泄漏。 #32
Comments
数据结构有问题吧 |
定义了一个markers的ref空数组,请求回来之后直接替换。数组内部的每个对象包含经纬度组、下标、附带一个data对象(包含一些item数据)。 |
正常应该不会这样,你贴一下矢量图形使用的代码,还有数据的结构 |
从数据来看没什么问题,尝试着换一下vue版本看看 |
好的,下周试一下。目前是将渲染的点全部去除响应式了。不过有一点很奇怪。使用 而使用 初步推测是由于
|
2.0.21版本的组件在给地图实例传递数据时做了去proxy和ref的处理,你可以试下最新的版本 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
使用版本
使用版本:2.0.4
涉及组件
问题描述
覆盖物绑定响应式数据,递归超过vue3的最大限制,造成内存泄漏,页面白屏卡死。
报错信息
尝试解决
The text was updated successfully, but these errors were encountered: