Skip to content

Commit 80157a7

Browse files
authored
Update src/guide/components/props.md
1 parent a9a703a commit 80157a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/components/props.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ watchEffect(() => {
152152
const { foo = 'hello' } = defineProps<{ foo?: string }>()
153153
```
154154

155-
如果你希望在您的 IDE 中在解构的 props 和普通变量之间有更多视觉上的区分,Vue 的 VSCode 扩展提供了一个设置来启用解构 props 的内联提示。
155+
如果你希望在 IDE 中在解构的 props 和普通变量之间有更多视觉上的区分,Vue 的 VSCode 扩展提供了一个设置来启用解构 props 的内联提示。
156156

157157
### 将解构的 props 传递到函数中
158158

0 commit comments

Comments
 (0)