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

[AMIcon]组件样式默认则会有undefined样式 #261

Closed
penxian opened this issue Apr 28, 2019 · 1 comment
Closed

[AMIcon]组件样式默认则会有undefined样式 #261

penxian opened this issue Apr 28, 2019 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@penxian
Copy link

penxian commented Apr 28, 2019

问题描述:

class="am-icon {{className}} am-icon-{{type}}"

处有个代码 {{className}}如果使用者不传入class则默认为undefined 请加上 {{className||''}}避免而外样式谢谢?
image

结果:默认不传值出现undefined
期望:默认不传值默认为空

@Phieo Phieo added the bug Something isn't working label Apr 29, 2019
@Phieo Phieo self-assigned this Apr 29, 2019
@Phieo
Copy link
Member

Phieo commented May 10, 2019

0.4.26 fixed

@Phieo Phieo closed this as completed May 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants