{"action":"created","issue":{"url":"https://api.github.com/repos/Dafrok/vue-baidu-map/issues/191","repository_url":"https://api.github.com/repos/Dafrok/vue-baidu-map","labels_url":"https://api.github.com/repos/Dafrok/vue-baidu-map/issues/191/labels{/name}","comments_url":"https://api.github.com/repos/Dafrok/vue-baidu-map/issues/191/comments","events_url":"https://api.github.com/repos/Dafrok/vue-baidu-map/issues/191/events","html_url":"https://github.com/Dafrok/vue-baidu-map/issues/191","id":267892846,"number":191,"title":"bm-info-window在v-for的渲染问题","user":{"login":"zhj-040352","id":33048520,"avatar_url":"https://avatars0.githubusercontent.com/u/33048520?v=4","gravatar_id":"","url":"https://api.github.com/users/zhj-040352","html_url":"https://github.com/zhj-040352","followers_url":"https://api.github.com/users/zhj-040352/followers","following_url":"https://api.github.com/users/zhj-040352/following{/other_user}","gists_url":"https://api.github.com/users/zhj-040352/gists{/gist_id}","starred_url":"https://api.github.com/users/zhj-040352/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhj-040352/subscriptions","organizations_url":"https://api.github.com/users/zhj-040352/orgs","repos_url":"https://api.github.com/users/zhj-040352/repos","events_url":"https://api.github.com/users/zhj-040352/events{/privacy}","received_events_url":"https://api.github.com/users/zhj-040352/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-10-24T04:22:23Z","updated_at":"2017-10-24T08:24:37Z","closed_at":null,"author_association":"NONE","body":"我的代码：\r\n`<div class=\"addMarker\">\r\n\r\n        <bm-marker v-for=\"marker of markers\" :position=\"{lng: marker.lng, lat: marker.lat}\" :dragging=\"false\" @click=\"infoWindowOpen(marker)\">\r\n\r\n          <bm-info-window title=\"实时数据：\" :closeOnClick=\"true\" :show=\"marker.showFlag\" @close=\"infoWindowClose(marker)\" @open=\"infoWindowOpen(marker)\">\r\n\r\n            <p v-text=\"marker.contents\"></p>\r\n\r\n          </bm-info-window>\r\n\r\n</bm-marker>\r\n\r\n`\r\n\r\n`<script>\r\n\r\nexport default {\r\n\r\n  data () {\r\n    return {\r\n      markers: []\r\n    }\r\n  },\r\n\r\n  mounted () {\r\n    this.loadnewMarker()\r\n  },\r\n\r\n  methods: {\r\n\r\n    infoWindowClose: function (marker) {\r\n      marker.showFlag = false\r\n    },\r\n\r\n    infoWindowOpen: function (marker) {\r\n      marker.showFlag = true\r\n      marker.contents = 'dddddd'\r\n    },\r\n\r\n    loadnewMarker: function () {\r\n      for (var i = 0; i < 2; i++) {\r\n        var p = {lng: Math.random() * 40 + 85, lat: Math.random() * 30 + 21}\r\n        this.markers.push(p)\r\n      }\r\n\r\n    }\r\n\r\n  }\r\n\r\n}\r\n</script>`\r\n\r\n\r\n\r\n\r\n测试消息框的时候， 点击不起作用， 控制台显示inforWindowClose/Open接受marker和数据更新都在执行， 但是 bm-info-window的show/content都没有能工作， 是哪儿出问题了吗？\r\n"},"comment":{"url":"https://api.github.com/repos/Dafrok/vue-baidu-map/issues/comments/338913349","html_url":"https://github.com/Dafrok/vue-baidu-map/issues/191#issuecomment-338913349","issue_url":"https://api.github.com/repos/Dafrok/vue-baidu-map/issues/191","id":338913349,"user":{"login":"Dafrok","id":6159588,"avatar_url":"https://avatars1.githubusercontent.com/u/6159588?v=4","gravatar_id":"","url":"https://api.github.com/users/Dafrok","html_url":"https://github.com/Dafrok","followers_url":"https://api.github.com/users/Dafrok/followers","following_url":"https://api.github.com/users/Dafrok/following{/other_user}","gists_url":"https://api.github.com/users/Dafrok/gists{/gist_id}","starred_url":"https://api.github.com/users/Dafrok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dafrok/subscriptions","organizations_url":"https://api.github.com/users/Dafrok/orgs","repos_url":"https://api.github.com/users/Dafrok/repos","events_url":"https://api.github.com/users/Dafrok/events{/privacy}","received_events_url":"https://api.github.com/users/Dafrok/received_events","type":"User","site_admin":false},"created_at":"2017-10-24T08:24:37Z","updated_at":"2017-10-24T08:24:37Z","author_association":"OWNER","body":"你发 issue 的时候会有一个注释，你已经删掉了，在评论框下面有一个 Markdown styling guide 你最好看一下规范"}}
{"actor":{"display_login":"Dafrok"}}