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

docs: update component-slots.md #258

Merged
merged 2 commits into from
Nov 10, 2020
Merged

docs: update component-slots.md #258

merged 2 commits into from
Nov 10, 2020

Conversation

beiding110
Copy link
Contributor

Description of Problem

image

从示例要表达的意思看,是要表达匿名插槽和具名插槽的作用域不能混用。黄框示例内todo-list嵌套todo-list后,与红框示例对比产生了歧义。

如果是的话,英文版文档似乎也存在该问题,如果理解错误,还请指正。谢谢

Proposed Solution

将黄框内的 todo-list 替换为 template,修改为如下内容

image

Additional Information

@veaba
Copy link
Member

veaba commented Nov 9, 2020

@beiding110 你好,感谢你的 PR 。

在英文版为同步该问题之前,此 PR 暂且搁置。

烦请先前往英文仓库发起 PR 修复该问题后,中文版才会同步。

后续你可以把英文版的 PR 地址回复至此。

🎉

@beiding110
Copy link
Contributor Author

@veaba 英文版已处理该问题,PR路径:

vuejs/docs#685

Copy link
Member

@veaba veaba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approve

@veaba veaba merged commit ced761a into vuejs:master Nov 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants