shuishen
2022-03-24 369b82a3d81afe2f0574e2c44fd0a2918516b433
src/components/map/components/mapPopup.vue
@@ -219,7 +219,10 @@
                                    />
                                </div>
                                <div class="content">
                                    <video :src="monitorUrl" controls autoplay></video>
                                    <play-video
                                        :sourceUrl="monitorUrl"
                                        @playStatus="changePlayStatus"
                                    ></play-video>
                                </div>
                            </div>
                        </div>
@@ -1087,6 +1090,10 @@
            this.$store.commit('SET_MONITORPOPUP', false)
        },
        changePlayStatus (status) { // 获取子组件的播放状态
            console.log(status)
        },
        audioPlay () {
            if (this.audioFlag == false) {
                this.audioMsg.text = this.audioSource