父组件访问子组件
使用$children或者$refs
子组件访问父组件
使用$parent
访问根组件
使用$root
vue父子组件的访问方式
猜你喜欢
转载自blog.csdn.net/weixin_44614772/article/details/104703304
今日推荐
周排行