fix(options): fix renderTriggered option translation

This commit is contained in:
Evan You 2019-10-02 09:46:29 -04:00
parent fe36555d9e
commit 5ab1d75c39

View File

@ -23,7 +23,8 @@ import {
onErrorCaptured,
onRenderTracked,
onBeforeUnmount,
onUnmounted
onUnmounted,
onRenderTriggered
} from './apiLifecycle'
import { DebuggerEvent, reactive } from '@vue/reactivity'
import { ComponentPropsOptions, ExtractPropTypes } from './componentProps'
@ -330,7 +331,7 @@ export function applyOptions(
onRenderTracked(renderTracked.bind(ctx))
}
if (renderTriggered) {
onRenderTracked(renderTriggered.bind(ctx))
onRenderTriggered(renderTriggered.bind(ctx))
}
if (beforeUnmount) {
onBeforeUnmount(beforeUnmount.bind(ctx))