访问父组件的属性或方法 this.$parent
this.$parent
访问子组件的属性或方法 this.$refs
this.$refs
posted on 2022-07-27 09:58 马玉豪 阅读(234) 评论(0) 收藏 举报