Skip to content

Commit

Permalink
chore(core/component/render): fix ts in wrapRenderList
Browse files Browse the repository at this point in the history
  • Loading branch information
shining-mind committed Jan 24, 2024
1 parent 0353819 commit 22b034b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/component/render/wrappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ export function wrapRenderList<T extends typeof renderList, C extends typeof wit
// Enable block tracking
// @see https://github.com/vuejs/core/blob/45984d559fe0c036657d5f2626087ea8eec205a8/packages/runtime-core/src/componentRenderContext.ts#L88
if ('_d' in wrappedCb) {
wrappedCb._d = false;
(<AnyFunction & {_d: boolean}>wrappedCb)._d = false;
}

this.$emit('[[V_FOR_CB]]', wrappedCb);
Expand Down

0 comments on commit 22b034b

Please sign in to comment.