Skip to content
This repository was archived by the owner on Aug 8, 2022. It is now read-only.

Commit b36694c

Browse files
veabaJinjiang
andauthored
fix: composition-api-template-refs (#574)
* fix: composition-api-template-refs * Update src/guide/composition-api-template-refs.md Co-authored-by: Jinjiang <zhaojinjiang@me.com>
1 parent 16553bc commit b36694c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
const root = ref(null)
2020
2121
onMounted(() => {
22-
// DOM元素将在初始渲染后分配给ref
23-
console.log(root.value) // <div>这是根元素</div>
22+
// DOM 元素将在初始渲染后分配给 ref
23+
console.log(root.value) // <div>This is a root element</div>
2424
})
2525
2626
return {

0 commit comments

Comments
 (0)