New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

问一个问题 #2491

Closed
xingyuefa opened this Issue Nov 21, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@xingyuefa

xingyuefa commented Nov 21, 2018

现在有一个组件 内部实现是可以传入slot参数的,现在把他用在了中去匹配路径,我该怎么做才能把slot传给这个组件,因为直接在<div slot=''hello">hello中我可以这样做,但是用在router匹配中,我就不知道该如何做了,请专业人士帮我解答一下这个问题

@vue-issue-bot

This comment has been minimized.

vue-issue-bot commented Nov 21, 2018

Hello, your issue has been closed because it does not conform to our issue requirements. In order to ensure every issue provides the necessary information for us to investigate, we require the use of the Issue Helper when creating new issues. Thank you!


你好,你的 issue 不符合我们所要求的格式,因此已被自动关闭。为了确保每个 issue 都提供必需的相关信息,请务必使用我们的 Issue 向导 来创建新 issue,谢谢!

@hasbug

This comment has been minimized.

hasbug commented Nov 21, 2018

不是很明白,但除了通过路由的query传参去实现,貌似没有更贴切的答案了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment