![](https://img-blog.csdnimg.cn/20190927151101105.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
Vue3
文章平均质量分 58
Vue3相关文章
拾柒念
这个作者很懒,什么都没留下…
展开
-
Vue动态组件
Vue3动态组件原创 2023-10-24 23:51:13 · 124 阅读 · 0 评论 -
vue3组件间的传值(props)
vue3组件间的传值(props)父组件向子组件传值:在父组件中:引入ref定义要传递的属性和属性值向vue页面中的子组件传递该属性属性:传给组件的名字(自定义) = “定义在父组件的属性名”在子组件中:接收父组件传来的属性props: { showDialogVisible: Boolean},setup() { return { }}注册该组件setup(props) { // 可以打印查看一下props传过来的属性以及属原创 2021-11-20 09:33:52 · 44746 阅读 · 0 评论