From a1a3e11a474df6dc62112bd6e060c53dc204bfe9 Mon Sep 17 00:00:00 2001 From: xialvjun Date: Mon, 27 Dec 2021 15:47:24 +0800 Subject: [PATCH] fix: #874 setup return object with type of Module (#875) --- src/mixin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mixin.ts b/src/mixin.ts index 54f0c21e..fb714135 100644 --- a/src/mixin.ts +++ b/src/mixin.ts @@ -115,7 +115,7 @@ export function mixin(Vue: VueConstructor) { return activateCurrentInstance(instance, () => bindingFunc()) } return - } else if (isPlainObject(binding)) { + } else if (isObject(binding)) { if (isReactive(binding)) { binding = toRefs(binding) as Data }