大华监控视频组件

This commit is contained in:
yanran200730
2022-05-13 17:33:37 +08:00
parent e04acbcf5b
commit 7e89712bd9

View File

@@ -16,7 +16,7 @@
data () {
return {
id: `video-${new Date().getTime()}`
id: `video-${Math.ceil(Math.random() * 10000)}`
}
},
@@ -31,7 +31,6 @@
})
}
},
immediate: true,
deep: true
}
},
@@ -50,7 +49,7 @@
<style lang="scss" scoped>
.dh-video {
width: 100%;
width: 100%;
height: 100%;
.video-js {
width: 100%!important;
@@ -74,4 +73,4 @@
height: 100%!important;
}
}
</style>
</style>