Skip to content
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

02.Componets Part-2 dialog-slot #23

Open
haibin2017 opened this issue Aug 4, 2017 · 0 comments
Open

02.Componets Part-2 dialog-slot #23

haibin2017 opened this issue Aug 4, 2017 · 0 comments

Comments

@haibin2017
Copy link

haibin2017 commented Aug 4, 2017

<footer class="dialog-footer" slot="footer">
	<button @click="closeDialog">关闭</button>
</footer>

把button去掉后,给相应name的slot填充值后浏览,不显示“没有分发内容”这几个字,
<slot name="footer">没有分发内容</slot>
效果:
image
是这个例子有什么问题吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant