Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
linzhe141 committed Sep 4, 2024
1 parent 610e879 commit d22b9e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-core/src/helpers/useTemplateRef.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function useTemplateRef<T = unknown, Keys extends string = string>(
set: val => {
r.value = val
// @ts-expect-error
r.value!.__v__TemplateRef = true
if (val) r.value!.__v__TemplateRef = true
},
})
}
Expand Down

0 comments on commit d22b9e0

Please sign in to comment.