第一种方式:不需要引入
.
使用:<component :is="a"></component>
第二种方式:is是字符串
component :is实现动态组件
最新推荐文章于 2023-09-25 22:30:45 发布
第一种方式:不需要引入
.
使用:<component :is="a"></component>
第二种方式:is是字符串