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

Actionsheet的小建议。 #950

Closed
wuchuguang opened this issue Feb 18, 2017 · 2 comments
Closed

Actionsheet的小建议。 #950

wuchuguang opened this issue Feb 18, 2017 · 2 comments

Comments

@wuchuguang
Copy link

我是看着vux成长的。但最近才开始使用vux,感谢开源这么好的库。

Actionsheet组件使用起来,觉得可以如下改进。
props:menus,
类型 兼容Array,因为Object对于menus实在太单一了。
兼容了Array,
我们menus = [
{label:"标题",value:"值",type: 'primary | success | warning | danger | info | default text' , disabled:true | default false }
]

谢谢。

@airyland
Copy link
Owner

airyland commented Feb 19, 2017

Array 类型可以支持,但是这些primary | success | warning | danger | info | default text属于过度分类,只会支持类似button的primary,warn,default, info。

@airyland
Copy link
Owner

在 v2.1.0 支持。

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

No branches or pull requests

2 participants