Browse Source

视频组件预览高度

zq 10 months ago
parent
commit
eebde186e0

+ 1 - 1
src/views/book/courseware/preview/components/video/VideoPreview.vue

@@ -93,7 +93,7 @@ export default {
           }
 
           if (ele.clientHeight <= 0) {
-            this.elementHeight = this.data.minHeight;
+            this.elementHeight = this.data.min_height;
           }
 
           const mainEle = this.$refs.videoArea;