黄琪勇 1 년 전
부모
커밋
fdba923977
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/attend-class/component/tools/pen.tsx

+ 2 - 2
src/views/attend-class/component/tools/pen.tsx

@@ -53,7 +53,7 @@ export default defineComponent({
     let src = `${origin}/classroom-whiteboard?t=${+new Date()}`;
 
     if (props.type === 'call') {
-      src = `http://localhost:5002/roll-call/index.html?t=${+new Date()}&platform=modal&imagePos=${
+      src = `${origin}/roll-call/index.html?t=${+new Date()}&platform=modal&imagePos=${
         props.imagePos
       }`;
     }
@@ -90,7 +90,7 @@ export default defineComponent({
             if (props.type === 'call') {
               const iframeRef: any = document.getElementById(penIframeRefId);
               if (iframeRef && iframeRef.contentWindow.renderData) {
-                iframeRef.contentWindow.renderData([...props.callStudents,...props.callStudents]);
+                iframeRef.contentWindow.renderData(props.callStudents);
               }
             }
             iframeDislableKeyboard(val.target);