Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: #874 setup return object with type of Module (#875)
  • Loading branch information
xialvjun committed Dec 27, 2021
1 parent 5f8d385 commit a1a3e11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mixin.ts
Expand Up @@ -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
}
Expand Down

0 comments on commit a1a3e11

Please sign in to comment.