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

增加 asDefault() 方法扩展,支持设置默认值 #28

Closed
subchen opened this issue Dec 3, 2013 · 0 comments
Closed

增加 asDefault() 方法扩展,支持设置默认值 #28

subchen opened this issue Dec 3, 2013 · 0 comments
Assignees
Milestone

Comments

@subchen
Copy link
Owner

subchen commented Dec 3, 2013

${parameter.type.asDefaullt("123")}

等价于

${parameter.type ? parameter.type : "123"}
@ghost ghost assigned subchen Dec 3, 2013
@subchen subchen closed this as completed in f33244e Dec 3, 2013
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

1 participant