Przeglądaj źródła

Merge branch 'feature-tianyong-newVersion' into ktyq-test-new

TIANYONG 11 miesięcy temu
rodzic
commit
304fe6c155
1 zmienionych plików z 4 dodań i 1 usunięć
  1. 4 1
      src/page-instrument/view-detail/index.tsx

+ 4 - 1
src/page-instrument/view-detail/index.tsx

@@ -312,7 +312,10 @@ export default defineComponent({
     function handleOnRendered(osmd: any) {
       try{
         handleRendered(osmd)
-      }catch(err){
+      }catch(err:any){
+        if(err.message === "webApi_beatTimes 完成"){
+          return
+        }
         console.log("webApi_beatTimes",err)
         window.parent.postMessage(
           {