在setup模式下,父组件是怎么使用子组件的?
在setup模式下,只需要引入子组件就可以直接在template中使用了。
import SonComponent from 'soncomponent.vue'
上一篇:无
首页
下一篇:父组件和子组件之间是如何数据互通的?