瀏覽代碼

修复视频监控的全屏显示问题

yanglzh 3 年之前
父節點
當前提交
3eca205d53
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/layout/routerView/iframes.vue

+ 1 - 1
src/layout/routerView/iframes.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="layout-view-bg-white flex mt1" :style="{ height: `calc(100vh - ${setIframeHeight}`, border: 'none' }" v-loading="iframeLoading">
-    <iframe :src="iframeUrl" frameborder="0" height="100%" width="100%" id="iframe" v-show="!iframeLoading"></iframe>
+    <iframe allowfullscreen="true" :src="iframeUrl" frameborder="0" height="100%" width="100%" id="iframe" v-show="!iframeLoading"></iframe>
   </div>
 </template>