diff --git a/packages/runtime-core/src/componentOptions.ts b/packages/runtime-core/src/componentOptions.ts index f9728088..9ee96ed6 100644 --- a/packages/runtime-core/src/componentOptions.ts +++ b/packages/runtime-core/src/componentOptions.ts @@ -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))