{"action":"opened","issue":{"url":"https://api.github.com/repos/vuejs/vue/issues/2441","repository_url":"https://api.github.com/repos/vuejs/vue","labels_url":"https://api.github.com/repos/vuejs/vue/issues/2441/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vue/issues/2441/comments","events_url":"https://api.github.com/repos/vuejs/vue/issues/2441/events","html_url":"https://github.com/vuejs/vue/issues/2441","id":139980852,"number":2441,"title":"ebpack+vue-router+vue-cli的dev模式下，使用带子组件的父组件slot插入百度地图div无法显示","user":{"login":"petjiang","id":8654615,"avatar_url":"https://avatars.githubusercontent.com/u/8654615?v=3","gravatar_id":"","url":"https://api.github.com/users/petjiang","html_url":"https://github.com/petjiang","followers_url":"https://api.github.com/users/petjiang/followers","following_url":"https://api.github.com/users/petjiang/following{/other_user}","gists_url":"https://api.github.com/users/petjiang/gists{/gist_id}","starred_url":"https://api.github.com/users/petjiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petjiang/subscriptions","organizations_url":"https://api.github.com/users/petjiang/orgs","repos_url":"https://api.github.com/users/petjiang/repos","events_url":"https://api.github.com/users/petjiang/events{/privacy}","received_events_url":"https://api.github.com/users/petjiang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-10T19:05:13Z","updated_at":"2016-03-10T19:05:13Z","closed_at":null,"body":"parent模板（里面的两个子模板不啰嗦了）：\r\n<template>\r\n<mycomponent1></mycomponent1>\r\n<slot></slot>\r\n<mycomponent2></mycomponent2>\r\n</template>\r\n\r\n然后在index.html中这么写：\r\n<parent>\r\n<div id=\"baidumap\"></div>\r\n</parent>\r\n地图显示一个灰框。我把baidumap移到外面就能正常显示。\r\n"}}