{"action":"closed","issue":{"url":"https://api.github.com/repos/Dafrok/vue-baidu-map/issues/379","repository_url":"https://api.github.com/repos/Dafrok/vue-baidu-map","labels_url":"https://api.github.com/repos/Dafrok/vue-baidu-map/issues/379/labels{/name}","comments_url":"https://api.github.com/repos/Dafrok/vue-baidu-map/issues/379/comments","events_url":"https://api.github.com/repos/Dafrok/vue-baidu-map/issues/379/events","html_url":"https://github.com/Dafrok/vue-baidu-map/issues/379","id":324641905,"number":379,"title":"internet explorer 11 语法错误","user":{"login":"hst0305","id":2916942,"avatar_url":"https://avatars1.githubusercontent.com/u/2916942?v=4","gravatar_id":"","url":"https://api.github.com/users/hst0305","html_url":"https://github.com/hst0305","followers_url":"https://api.github.com/users/hst0305/followers","following_url":"https://api.github.com/users/hst0305/following{/other_user}","gists_url":"https://api.github.com/users/hst0305/gists{/gist_id}","starred_url":"https://api.github.com/users/hst0305/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hst0305/subscriptions","organizations_url":"https://api.github.com/users/hst0305/orgs","repos_url":"https://api.github.com/users/hst0305/repos","events_url":"https://api.github.com/users/hst0305/events{/privacy}","received_events_url":"https://api.github.com/users/hst0305/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-19T16:29:08Z","updated_at":"2018-05-19T16:29:15Z","closed_at":"2018-05-19T16:29:15Z","author_association":"NONE","body":"浏览器版本号\r\ninternet explorer 11 版本: 11.431.16299.0\r\n\r\nVue 版本号\r\n2.9.3\r\n\r\n组件库版本号\r\n\"vue-baidu-map\": \"^0.21.10\",\r\n\r\n现象描述\r\n局部注册组件\r\nnpm run dev\r\n访问app出现：“语法错误”   指向 app.js 位置如下：\r\neval(\"/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__events_js__ = __webpack_require__(\\\"./node_modules/vue-baidu-map/components/base/events.js\\\");\\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__util_js__ = __webpack_require__(\\\"./node_modules/vue-baidu-map/components/base/util.js\\\");\\n\\n\\n\\n/* harmony default export */ __webpack_exports__[\\\"a\\\"] = (function (instance, eventList) {\\n  const ev = eventList || __WEBPACK_IMPORTED_MODULE_0__events_js__[\\\"a\\\" /* default */][Object(__WEBPACK_IMPORTED_MODULE_1__util_js__[\\\"b\\\" /* toKebabCase */])(this.$options._componentTag)]\\n  ev && ev.forEach(event => {\\n    const hasOn = event.slice(0, 2) === 'on'\\n    const eventName = hasOn ? event.slice(2) : event\\n    const listener = this.$listeners[eventName]\\n    listener && instance.addEventListener(event, listener.fns)\\n  })\\n});\\n//# sourceURL=[module]\\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvdnVlLWJhaWR1LW1hcC9jb21wb25lbnRzL2Jhc2UvYmluZEV2ZW50LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vbm9kZV9tb2R1bGVzL3Z1ZS1iYWlkdS1tYXAvY29tcG9uZW50cy9iYXNlL2JpbmRFdmVudC5qcz8xZTkzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBldmVudHMgZnJvbSAnLi9ldmVudHMuanMnXG5pbXBvcnQge3RvS2ViYWJDYXNlfSBmcm9tICcuL3V0aWwuanMnXG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIChpbnN0YW5jZSwgZXZlbnRMaXN0KSB7XG4gIGNvbnN0IGV2ID0gZXZlbnRMaXN0IHx8IGV2ZW50c1t0b0tlYmFiQ2FzZSh0aGlzLiRvcHRpb25zLl9jb21wb25lbnRUYWcpXVxuICBldiAmJiBldi5mb3JFYWNoKGV2ZW50ID0+IHtcbiAgICBjb25zdCBoYXNPbiA9IGV2ZW50LnNsaWNlKDAsIDIpID09PSAnb24nXG4gICAgY29uc3QgZXZlbnROYW1lID0gaGFzT24gPyBldmVudC5zbGljZSgyKSA6IGV2ZW50XG4gICAgY29uc3QgbGlzdGVuZXIgPSB0aGlzLiRsaXN0ZW5lcnNbZXZlbnROYW1lXVxuICAgIGxpc3RlbmVyICYmIGluc3RhbmNlLmFkZEV2ZW50TGlzdGVuZXIoZXZlbnQsIGxpc3RlbmVyLmZucylcbiAgfSlcbn1cblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL3Z1ZS1iYWlkdS1tYXAvY29tcG9uZW50cy9iYXNlL2JpbmRFdmVudC5qc1xuLy8gbW9kdWxlIGlkID0gLi9ub2RlX21vZHVsZXMvdnVlLWJhaWR1LW1hcC9jb21wb25lbnRzL2Jhc2UvYmluZEV2ZW50LmpzXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\\n//# sourceURL=webpack-internal:///./node_modules/vue-baidu-map/components/base/bindEvent.js\\n\");\r\n\r\n\r\nnpm run build 发布APP\r\n访问app出现：“语法错误”\r\n\r\nexport default function (instance, eventList) {\r\n  const ev = eventList || events[toKebabCase(this.$options._componentTag)]\r\n  ev && ev.forEach(event => { //调试程序错误指向这里\r\n    const hasOn = event.slice(0, 2) === 'on'\r\n    const eventName = hasOn ? event.slice(2) : event\r\n    const listener = this.$listeners[eventName]\r\n    listener && instance.addEventListener(event, listener.fns)\r\n  })\r\n}\r\n\r\n在线示例 / 仓库 URL\r\n无\r\n\r\n复现用例\r\n无\r\n预期输出\r\n无\r\n实际输出\r\n语法错误"}}
{"actor":{"display_login":"Dafrok"}}