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

组件样式无法传递的bug #160

Closed
SoyMeng opened this issue May 25, 2017 · 8 comments
Closed

组件样式无法传递的bug #160

SoyMeng opened this issue May 25, 2017 · 8 comments
Labels
bug Fixed inactive Inactive issue, will be auto closed in 7 days

Comments

@SoyMeng
Copy link

SoyMeng commented May 25, 2017

如果子组件中有定义<style></style>标签,当父组件引用子组件时,如果父组件不添加空的<style></style>,页面无法引用到子组件定义的样式

@Gcaufy Gcaufy self-assigned this May 25, 2017
@Gcaufy Gcaufy added the bug label May 25, 2017
@zhuman90
Copy link

我也遇到这个问题了,我在一个page里调用一个组件A,然后组件A调用组件B,这时候组件B的样式在组件A里边没法显示,我必须在page里边再次import组件B才行。

@Gcaufy
Copy link
Collaborator

Gcaufy commented May 26, 2017

是存在这个问题,下个版本修复。暂时先写个空的style

@SoyMeng
Copy link
Author

SoyMeng commented May 26, 2017

@magicwallboy 如果你的情况跟我一样,可以看看组件A是否有<style></style>标签

@zhuman90
Copy link

@SoyMeng 恩恩,我之前没写<style></style>标签,现在加一个空的可以了。

@Gcaufy Gcaufy closed this as completed Aug 14, 2017
@cytle
Copy link
Contributor

cytle commented Aug 29, 2017

这个解决了吗,发现v1.5.8存在此问题。 @Gcaufy

@Gcaufy Gcaufy reopened this Aug 29, 2017
Gcaufy added a commit that referenced this issue Aug 29, 2017
@Gcaufy
Copy link
Collaborator

Gcaufy commented Aug 29, 2017

@cytle 的确存在,现在才处理。

@Gcaufy Gcaufy added the Fixed label Oct 19, 2017
@baisheng
Copy link
Contributor

baisheng commented Nov 9, 2017

1.6 版本这个问题又重现了

@stale
Copy link

stale bot commented Jun 13, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
因为这个 Issue 最近没有任何有效回复,所以被自动标记为了stale。 如果在未来7天依旧没有任何激活操作,那么该 Issue 将会被自动关闭。 感谢您的提问。

@stale stale bot added the inactive Inactive issue, will be auto closed in 7 days label Jun 13, 2018
@stale stale bot closed this as completed Jun 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixed inactive Inactive issue, will be auto closed in 7 days
Projects
None yet
Development

No branches or pull requests

5 participants