Skip to content

Commit

Permalink
docs: update slot.md
Browse files Browse the repository at this point in the history
  • Loading branch information
qiufeihong2018 committed Apr 12, 2024
1 parent fe1a3a0 commit 32cbfa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/vue/slot.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ customElements.define('element-details',

## 二、使用场景

通过插槽可以让用户可以拓展组件,去更好地复用组件和对其做定制化处理
通过插槽可以让用户拓展组件,去更好地复用组件和对其做定制化处理

如果父组件在使用到一个复用组件的时候,获取这个组件在不同的地方有少量的更改,如果去重写组件是一件不明智的事情

Expand Down

0 comments on commit 32cbfa8

Please sign in to comment.