摘要: 一、动态组件 1、动态组件 # <component :is="who"></component> # component标签的is属性等于组件名字,这里就会显示这个组件 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> < 阅读全文
posted @ 2023-09-20 14:56 凡人半睁眼 阅读(17) 评论(0) 推荐(0) 编辑