提交 6744177b authored 作者: 王鹏飞's avatar 王鹏飞

chore: iframe add allow="camera; microphone"

上级 0cda2ee6
......@@ -56,7 +56,7 @@ const getIframeUrl = function () {
</template>
<template #right>
<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>
</template>
</DragPanel>
......
......@@ -185,7 +185,7 @@ const reportDialogVisible = $ref(false)
</g>
</svg>
</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>
</template>
</DragPanel>
......
......@@ -294,7 +294,7 @@ function handleReportPreviewReady() {
</AppCard>
<div class="lab-box">
<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>
</template>
</DragPanel>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论