大华监控视频组件
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user