Skip to content

Commit

Permalink
remove space
Browse files Browse the repository at this point in the history
  • Loading branch information
wxsms authored Apr 16, 2024
1 parent 3a8e56c commit e8e4ebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/guide/components/slots.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ function BaseLayout(slots) {

## 条件插槽 {#conditional-slots}

有时你需要根据插槽是否存在来渲染某些内容。
有时你需要根据插槽是否存在来渲染某些内容。

你可以结合使用 [$slots](/api/component-instance.html#slots) 属性与 [v-if](/guide/essentials/conditional.html#v-if) 来实现。

Expand Down

0 comments on commit e8e4ebe

Please sign in to comment.