摘要: 如何在Vue中使用动态CSS 开发过程中,有需要通过script去动态修改css样式中某些属性值,比如 主题切换。 v-bind <style>标记支持使用v-bind 将CSS值链接到组件状态 <template> <div class="text">hello</div> </template> 阅读全文
posted @ 2021-11-24 19:48 skylei 阅读(3963) 评论(1) 推荐(0)