{"action":"created","issue":{"url":"https://api.github.com/repos/vueComponent/ant-design-vue/issues/1086","repository_url":"https://api.github.com/repos/vueComponent/ant-design-vue","labels_url":"https://api.github.com/repos/vueComponent/ant-design-vue/issues/1086/labels{/name}","comments_url":"https://api.github.com/repos/vueComponent/ant-design-vue/issues/1086/comments","events_url":"https://api.github.com/repos/vueComponent/ant-design-vue/issues/1086/events","html_url":"https://github.com/vueComponent/ant-design-vue/issues/1086","id":480447711,"node_id":"MDU6SXNzdWU0ODA0NDc3MTE=","number":1086,"title":"组件库引入全局样式lib/style/index.css,会污染全局基础样式","user":{"login":"lulinglm","id":50210532,"node_id":"MDQ6VXNlcjUwMjEwNTMy","avatar_url":"https://avatars3.githubusercontent.com/u/50210532?v=4","gravatar_id":"","url":"https://api.github.com/users/lulinglm","html_url":"https://github.com/lulinglm","followers_url":"https://api.github.com/users/lulinglm/followers","following_url":"https://api.github.com/users/lulinglm/following{/other_user}","gists_url":"https://api.github.com/users/lulinglm/gists{/gist_id}","starred_url":"https://api.github.com/users/lulinglm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lulinglm/subscriptions","organizations_url":"https://api.github.com/users/lulinglm/orgs","repos_url":"https://api.github.com/users/lulinglm/repos","events_url":"https://api.github.com/users/lulinglm/events{/privacy}","received_events_url":"https://api.github.com/users/lulinglm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2019-08-14T02:11:47Z","updated_at":"2019-08-14T02:28:22Z","closed_at":null,"author_association":"NONE","body":"- [ ] I have searched the [issues](https://github.com/vueComponent/ant-design-vue/issues)         of this repository and believe that this is not a duplicate.\r\n        \r\n        \r\n### Version\r\n1.3.14\r\n\r\n### Environment\r\nmacos 10.14.6，chrome76.0.3809.100（正式版本），vue 2.6\r\n\r\n### Reproduction link\r\n[https://github.com/vueComponent/ant-design-vue](https://github.com/vueComponent/ant-design-vue)\r\n\r\n### Steps to reproduce\r\n\r\n在chrome extension 插件开发中使用ant-design-vue组件库。\r\n采用了按需加载的引入方式。\r\n但是按需加载还是会引入ant-design-vue代码中style文件夹中的index.css。\r\n该文件中包含全局的一些基本样式，会影响到正常界面的显示。\r\n按需加载的时候能不能限制ant-design-vue样式的作用域。\r\n\r\nant-design-vue中style文件夹中的index.css文件截图\r\n![image](https://user-images.githubusercontent.com/50210532/62989321-19398b80-be7a-11e9-956e-8d558a14b383.png)\r\n\r\n百度页面样式覆盖截图：\r\n![image](https://user-images.githubusercontent.com/50210532/62989472-b3013880-be7a-11e9-8be5-0929d0534740.png)\r\n\r\n### What is expected?\r\n引入lib/style/index.css 文件不污染全局样式\r\n\r\n### What is actually happening?\r\n开发的chrome extension 插件在浏览网页过程中，会影响网页的样式\r\n\r\n---\r\nhttps://github.com/vueComponent/ant-design-vue/issues/1085  被关闭的带图片的issue地址\r\n\r\n        \r\n\r\n<!-- generated by issue-helper. DO NOT REMOVE -->"},"comment":{"url":"https://api.github.com/repos/vueComponent/ant-design-vue/issues/comments/521078371","html_url":"https://github.com/vueComponent/ant-design-vue/issues/1086#issuecomment-521078371","issue_url":"https://api.github.com/repos/vueComponent/ant-design-vue/issues/1086","id":521078371,"node_id":"MDEyOklzc3VlQ29tbWVudDUyMTA3ODM3MQ==","user":{"login":"sendya","id":5404542,"node_id":"MDQ6VXNlcjU0MDQ1NDI=","avatar_url":"https://avatars0.githubusercontent.com/u/5404542?v=4","gravatar_id":"","url":"https://api.github.com/users/sendya","html_url":"https://github.com/sendya","followers_url":"https://api.github.com/users/sendya/followers","following_url":"https://api.github.com/users/sendya/following{/other_user}","gists_url":"https://api.github.com/users/sendya/gists{/gist_id}","starred_url":"https://api.github.com/users/sendya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sendya/subscriptions","organizations_url":"https://api.github.com/users/sendya/orgs","repos_url":"https://api.github.com/users/sendya/repos","events_url":"https://api.github.com/users/sendya/events{/privacy}","received_events_url":"https://api.github.com/users/sendya/received_events","type":"User","site_admin":false},"created_at":"2019-08-14T02:28:22Z","updated_at":"2019-08-14T02:28:22Z","author_association":"MEMBER","body":"https://ant.design/docs/react/customize-theme#How-to-avoid-modifying-global-styles?"}}
{"actor":{"display_login":"sendya"}}