소스 검색

iframe添加权限

11wqe1 2 달 전
부모
커밋
523db421ce
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/components/main/feedback.vue

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

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