将组件的样式设为私有,再组件的style标签加scoped属性

将组件的样式设为私有,需要在组件的style标签加scoped属性

posted @ 2019-06-25 12:48  SmallPeate  阅读(126)  评论(0编辑  收藏  举报