Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
aixianling
2022-05-13 17:50:05 +08:00

View File

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