{"action":"created","issue":{"url":"https://api.github.com/repos/Dafrok/vue-baidu-map/issues/380","repository_url":"https://api.github.com/repos/Dafrok/vue-baidu-map","labels_url":"https://api.github.com/repos/Dafrok/vue-baidu-map/issues/380/labels{/name}","comments_url":"https://api.github.com/repos/Dafrok/vue-baidu-map/issues/380/comments","events_url":"https://api.github.com/repos/Dafrok/vue-baidu-map/issues/380/events","html_url":"https://github.com/Dafrok/vue-baidu-map/issues/380","id":324643124,"number":380,"title":"internet explorer 11 syntax error","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":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-19T16:46:40Z","updated_at":"2018-05-21T11:09:02Z","closed_at":null,"author_association":"NONE","body":"## [BUG 反馈] internet explorer 11 syntax error\r\n\r\n### 浏览器版本号\r\n\r\ninternet explorer 11.431.16299.0\r\n\r\n### Vue 版本号\r\n\r\n2.9.3\r\n\r\n### 组件库版本号\r\n\r\n^0.21.10\r\n\r\n### 现象描述\r\n\r\n```\r\nUsing local registration components\r\nRunning app and accessing url:http://localhost:8080/: \"syntax error\"\r\n```\r\n\r\n### 完整异常信息\r\n\r\n```\r\nDevelopment model\r\nnpm run dev\r\n\"syntax error\"\r\napp.js (1964,1)\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\nProduction model\r\nnpm run build\r\n\"syntax error\"\r\nvendor.71ec08c9f90e8d6cdf03.js (17,50879)\r\nexport default function (instance, eventList) {\r\nconst ev = eventList || events[toKebabCase(this.$options._componentTag)]\r\nev && ev.forEach(event => { //Debugging program error points to here\r\nconst hasOn = event.slice(0, 2) === 'on'\r\nconst eventName = hasOn ? event.slice(2) : event\r\nconst listener = this.$listeners[eventName]\r\nlistener && instance.addEventListener(event, listener.fns)\r\n})\r\n}\r\n\r\n```\r\n\r\n### 在线示例 / 仓库 URL\r\n\r\nnothing\r\n\r\n### 复现用例\r\n\r\n```\r\nnothing\r\n```\r\n\r\n### 预期输出\r\n\r\n```\r\nnothing\r\n```\r\n\r\n### 实际输出\r\n\r\n```\r\n\"syntax error\"\r\n```\r\n\r\n<!-- Created by issues bot. DO NOT REMOVE. -->"},"comment":{"url":"https://api.github.com/repos/Dafrok/vue-baidu-map/issues/comments/390624649","html_url":"https://github.com/Dafrok/vue-baidu-map/issues/380#issuecomment-390624649","issue_url":"https://api.github.com/repos/Dafrok/vue-baidu-map/issues/380","id":390624649,"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},"created_at":"2018-05-21T11:09:02Z","updated_at":"2018-05-21T11:09:02Z","author_association":"NONE","body":"在ie11级以下版本。调用下面的setViewport。显示就现在问题！\r\nlet pointList = [];\r\nfor....{\r\nlet point = new BMap.Point(.....);\r\npointList.push(point);\r\n}\r\nBMap.setViewport(pointList);\r\n\r\n通过point还有其它的方法调整Viewport不？"}}
{"actor":{"display_login":"hst0305"}}