소스 검색

修改bug

bill 1 년 전
부모
커밋
23f8aef3e4
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      src/model/app.vue

+ 4 - 1
src/model/app.vue

@@ -101,7 +101,10 @@ export const Model = defineComponent({
       (type, oldType, onCleanup) => {
         if (type === false) {
           // 手动渲染融合场景
-          (window as any).viewer.setDisplay(true)
+          console.log("手动渲染!");
+          setTimeout(() => {
+            (window as any).viewer.setDisplay(true)
+          }, 100)
         };
 
         const interval = setInterval(async () => {