test: fix options usage of reactive
This commit is contained in:
parent
e67f655b26
commit
5d952cc051
@ -249,8 +249,9 @@ export function applyOptions(
|
|||||||
} = options
|
} = options
|
||||||
|
|
||||||
const renderContext =
|
const renderContext =
|
||||||
instance.renderContext === EMPTY_OBJ
|
instance.renderContext === EMPTY_OBJ &&
|
||||||
? (instance.renderContext = {})
|
(computedOptions || methods || watchOptions || injectOptions)
|
||||||
|
? (instance.renderContext = reactive({}))
|
||||||
: instance.renderContext
|
: instance.renderContext
|
||||||
|
|
||||||
const globalMixins = instance.appContext.mixins
|
const globalMixins = instance.appContext.mixins
|
||||||
|
Loading…
x
Reference in New Issue
Block a user