{"action":"opened","issue":{"url":"https://api.github.com/repos/iview/iview/issues/1522","repository_url":"https://api.github.com/repos/iview/iview","labels_url":"https://api.github.com/repos/iview/iview/issues/1522/labels{/name}","comments_url":"https://api.github.com/repos/iview/iview/issues/1522/comments","events_url":"https://api.github.com/repos/iview/iview/issues/1522/events","html_url":"https://github.com/iview/iview/issues/1522","id":247340734,"number":1522,"title":"iview单文件组件写class不能正确应用样式，及scrollbar的样式bug","user":{"login":"Fridolph","id":17010702,"avatar_url":"https://avatars1.githubusercontent.com/u/17010702?v=4","gravatar_id":"","url":"https://api.github.com/users/Fridolph","html_url":"https://github.com/Fridolph","followers_url":"https://api.github.com/users/Fridolph/followers","following_url":"https://api.github.com/users/Fridolph/following{/other_user}","gists_url":"https://api.github.com/users/Fridolph/gists{/gist_id}","starred_url":"https://api.github.com/users/Fridolph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fridolph/subscriptions","organizations_url":"https://api.github.com/users/Fridolph/orgs","repos_url":"https://api.github.com/users/Fridolph/repos","events_url":"https://api.github.com/users/Fridolph/events{/privacy}","received_events_url":"https://api.github.com/users/Fridolph/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-02T10:19:29Z","updated_at":"2017-08-02T10:19:29Z","closed_at":null,"body":"<!-- 不接受提问，只接收 bug 反馈 -->\r\n<!-- 必须提供能够复现问题的在线链接或 repo，否则直接关闭 -->\r\n<!-- 使用下面的在线链接快速创建示例 -->\r\n<!-- https://codepen.io/anon/pen/BWwVoy -->\r\n\r\n### iView 版本号\r\n2.0.0-rc.5\r\n\r\n### 操作系统/浏览器 版本号\r\nwindows/Chrome 56\r\n\r\n### Vue 版本号\r\n2.2.1\r\n\r\n### 能够复现问题的在线示例（bug 相关不提供在线示例将直接 close）\r\nhttps://codepen.io/anon/pen/mMEgeX\r\n\r\n## 问题现象，以及你期望的结果是怎样的?\r\n\r\n1. 我在模版里给了 class=\"demo\" 样式直接写能生效，但在我的单文件组件里直接写 样式不能生效，滚动条样式没有变化\r\n（想问下是不是scoped的原因）\r\n\r\n2. 这里的scrollbar样式是生效的…  只给了4px的宽， 但iview里的 table宽度依然是 默认scrollbar的宽度？"}}
{"actor":{"display_login":"Fridolph"}}