Skip to content

Commit fbcecaf

Browse files
authored
fix typo in composition-api-template-refs.md (#1113)
1 parent 5bfc201 commit fbcecaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/composition-api-template-refs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ Therefore, watchers that use template refs should be defined with the `flush: 'p
133133
const root = ref(null)
134134
135135
watchEffect(() => {
136-
console.log(root.value) // => <div></div>
136+
console.log(root.value) // => <div>This is a root element</div>
137137
},
138138
{
139139
flush: 'post'

0 commit comments

Comments
 (0)