Browse Source

修改bug

bill 1 year ago
parent
commit
23f8aef3e4
1 changed files with 4 additions and 1 deletions
  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 () => {