摘要: 下面看下vue component动态组件 动态组件 通过component标签 的is属性来进行组件的切换 is的属性值决定要显示的组件,所以将is的属性值设置为data中的值,以便于动态变化 1 2 3 4 5 6 7 <template> <div class="app"> <componen 阅读全文
posted @ 2020-03-07 21:38 h2z 阅读(11780) 评论(0) 推荐(0)