|
|
@@ -252,8 +252,8 @@ export const publicPropertiesMap: PublicPropertiesMap =
|
|
|
$root: i => getPublicInstance(i.root),
|
|
|
$emit: i => i.emit,
|
|
|
$options: i => (__FEATURE_OPTIONS_API__ ? resolveMergedOptions(i) : i.type),
|
|
|
- $forceUpdate: i => () => queueJob(i.update),
|
|
|
- $nextTick: i => nextTick.bind(i.proxy!),
|
|
|
+ $forceUpdate: i => i.f || (i.f = () => queueJob(i.update)),
|
|
|
+ $nextTick: i => i.n || (i.n = nextTick.bind(i.proxy!)),
|
|
|
$watch: i => (__FEATURE_OPTIONS_API__ ? instanceWatch.bind(i) : NOOP)
|
|
|
} as PublicPropertiesMap)
|
|
|
|