子组件:<detail-popover ref=’detailPopover’ title=” 预警详情 ”></detail-popover> 调用子组件办法:this.$refs.detailPopover. 办法