Skip to content

Commit a1a3e11

Browse files
authored
fix: #874 setup return object with type of Module (#875)
1 parent 5f8d385 commit a1a3e11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mixin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export function mixin(Vue: VueConstructor) {
115115
return activateCurrentInstance(instance, () => bindingFunc())
116116
}
117117
return
118-
} else if (isPlainObject(binding)) {
118+
} else if (isObject(binding)) {
119119
if (isReactive(binding)) {
120120
binding = toRefs(binding) as Data
121121
}

0 commit comments

Comments
 (0)