Skip to content

Commit 7d8e7dd

Browse files
gexin1yyx990803
authored andcommitted
fix typo in composition-api-template-refs.md (#1113)
1 parent 9f5e0a7 commit 7d8e7dd

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)