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

Commit 22962f8

Browse files
authored
Update composition-api-introduction.md (#829)
更改 prop的 为 props 中的
1 parent 3771219 commit 22962f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/composition-api-introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ import { ref, onMounted, watch, toRefs } from 'vue'
319319

320320
// 在我们组件中
321321
setup (props) {
322-
// 使用 `toRefs` 创建对prop的 `user` property 的响应式引用
322+
// 使用 `toRefs` 创建对 props 中的 `user` property 的响应式引用
323323
const { user } = toRefs(props)
324324

325325
const repositories = ref([])

0 commit comments

Comments
 (0)