提交 80f091d2 authored 作者: lhh's avatar lhh
...@@ -56,7 +56,7 @@ const getIframeUrl = function () { ...@@ -56,7 +56,7 @@ const getIframeUrl = function () {
</template> </template>
<template #right> <template #right>
<div class="lab-box"> <div class="lab-box">
<iframe allowfullscreen :src="iframeUrl" frameborder="0" class="iframe" ref="iframeRef"></iframe> <iframe allowfullscreen allow="camera; microphone" :src="iframeUrl" frameborder="0" class="iframe" ref="iframeRef"></iframe>
</div> </div>
</template> </template>
</DragPanel> </DragPanel>
......
...@@ -185,7 +185,7 @@ const reportDialogVisible = $ref(false) ...@@ -185,7 +185,7 @@ const reportDialogVisible = $ref(false)
</g> </g>
</svg> </svg>
</div> </div>
<iframe allowfullscreen :src="competitionUrl" :key="iframeKey" frameborder="0" class="iframe" ref="iframeRef"></iframe> <iframe allowfullscreen allow="camera; microphone" :src="competitionUrl" :key="iframeKey" frameborder="0" class="iframe" ref="iframeRef"></iframe>
</div> </div>
</template> </template>
</DragPanel> </DragPanel>
......
...@@ -294,7 +294,7 @@ function handleReportPreviewReady() { ...@@ -294,7 +294,7 @@ function handleReportPreviewReady() {
</AppCard> </AppCard>
<div class="lab-box"> <div class="lab-box">
<el-empty description="您已经提交该实验,不能再进行操作,切换其他实验再做操作吧。" v-if="submitted" /> <el-empty description="您已经提交该实验,不能再进行操作,切换其他实验再做操作吧。" v-if="submitted" />
<iframe allowfullscreen :src="LAB_URL" :key="iframeKey" frameborder="0" class="iframe" ref="iframeRef" v-else></iframe> <iframe allow="camera; microphone" allowfullscreen :src="LAB_URL" :key="iframeKey" frameborder="0" class="iframe" ref="iframeRef" v-else></iframe>
</div> </div>
</template> </template>
</DragPanel> </DragPanel>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论