소스 검색

修改需求

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

+ 1 - 1
src/model/app.vue

@@ -81,7 +81,7 @@ export const Model = defineComponent({
 
         await nextTick()
         const { typePromise, typeCleanup } = typeChange()
-        const modelPromise = modelSDKFactory(type, type === fuseModel ? fuseRef.value! : iframeRef.value!)
+        const modelPromise = modelSDKFactory(type as any, type === fuseModel ? fuseRef.value! : iframeRef.value!)
         let result: any = null, error = null
         try {
           result = await Promise.race([typePromise, modelPromise])