{"action":"closed","issue":{"url":"https://api.github.com/repos/Dafrok/vue-baidu-map/issues/449","repository_url":"https://api.github.com/repos/Dafrok/vue-baidu-map","labels_url":"https://api.github.com/repos/Dafrok/vue-baidu-map/issues/449/labels{/name}","comments_url":"https://api.github.com/repos/Dafrok/vue-baidu-map/issues/449/comments","events_url":"https://api.github.com/repos/Dafrok/vue-baidu-map/issues/449/events","html_url":"https://github.com/Dafrok/vue-baidu-map/issues/449","id":349907219,"node_id":"MDU6SXNzdWUzNDk5MDcyMTk=","number":449,"title":"在使用海量点的时候首次进入地图每有一个点就会出现两个错误","user":{"login":"tanghy1997","id":32354771,"node_id":"MDQ6VXNlcjMyMzU0Nzcx","avatar_url":"https://avatars1.githubusercontent.com/u/32354771?v=4","gravatar_id":"","url":"https://api.github.com/users/tanghy1997","html_url":"https://github.com/tanghy1997","followers_url":"https://api.github.com/users/tanghy1997/followers","following_url":"https://api.github.com/users/tanghy1997/following{/other_user}","gists_url":"https://api.github.com/users/tanghy1997/gists{/gist_id}","starred_url":"https://api.github.com/users/tanghy1997/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanghy1997/subscriptions","organizations_url":"https://api.github.com/users/tanghy1997/orgs","repos_url":"https://api.github.com/users/tanghy1997/repos","events_url":"https://api.github.com/users/tanghy1997/events{/privacy}","received_events_url":"https://api.github.com/users/tanghy1997/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-13T06:52:07Z","updated_at":"2018-08-13T06:52:16Z","closed_at":"2018-08-13T06:52:16Z","author_association":"NONE","body":"<!--\r\n\r\n注意：请使用 https://dafrok.github.io/vue-baidu-map/#/issues 创建新 ISSUE，不符合条件的 ISSUE 将被机器人自动关闭！\r\n\r\nAttention: Please create issues according to https://dafrok.github.io/vue-baidu-map/#/issues, or bot will close it.\r\n\r\n-->\r\n我在使用多个数据点时候，每次第一次进入组件的时候出现这个问题，之后就OK了\r\n```\r\n1. TypeError: Cannot read property 'clear' of undefined；\r\n2. Vue warn: Error in callback for watcher \"points\": \"TypeError: Cannot read property 'clear' of undefined\"\r\n```\r\n错误定位是在包index.js中这个部分\r\n```\r\npoints:{deep:!0,handler:function(t){var e=this.originInstance;console.log('laala');console.log(e);e&&e.clear(),e&&e.setPoints(t)}}}\r\n```\r\n所以我index.js这里打印了测试laala是可以出来的但是后面的e是undefined，所以想请教一些这个问题怎么解决"}}
{"actor":{"display_login":"Dafrok"}}