设置vue组件当中的style样式只作用于当前组件

在style当中添加scoped即可

posted @ 2017-03-31 10:18  无情码字员  阅读(4182)  评论(0编辑  收藏  举报