Browse Source

iframe添加权限

11wqe1 4 tháng trước cách đây
mục cha
commit
523db421ce
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/components/main/feedback.vue

+ 1 - 0
src/components/main/feedback.vue

@@ -68,6 +68,7 @@
         </template>
         <div style="height: calc(100% - 32px);">
             <iframe width="100%" height="100%"
+                allow="camera *; microphone *;display-capture;midi;encrypted-media;"
                 src="https://aichat.cocorobo.cn/#/?id=335951a7-65ec-40e9-ae91-2971464ade4e&type=agent" frameborder="0"
                 scrolling="no"></iframe>
         </div>