vue 父组件调用子组件内的方法

子组件:
<detail-popover ref='detailPopover' title="预警详情"></detail-popover>

调用子组件方法:
this.$refs.detailPopover.方法

评论

暂无评论