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])