10.(vue3.x+vite)父子组件传参

1.效果预览

在这里插入图片描述

2.传值方式

父传子:prop与 r e f 两种方式。 t h i s . ref两种方式。this. ref两种方式。thi

猜你喜欢

转载自blog.csdn.net/m0_60387551/article/details/132877704