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