摘要: 在Vue组件中,我们可以使用<style scoped>标签来添加针对该组件的CSS样式。 <template> <div class="foo"> <div v-html="myHtml"></div> </div></template><style scoped> .foo { height: 阅读全文
posted @ 2019-01-05 15:03 liuxinheng87 阅读(1969) 评论(0) 推荐(1) 编辑