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

MVC @Param 对象属性默认值df无效 #1277

Closed
SkyMonkya opened this Issue Jun 20, 2017 · 1 comment

Comments

Projects
None yet
3 participants
@SkyMonkya

SkyMonkya commented Jun 20, 2017

控制器代码片段

@At
public void test(@Param("..")Model model){
}

Model:

public void Model{
    @Param(value="name",df="abc")
    private String name;
}

Model类中的df默认值不生效

@Rekoe

This comment has been minimized.

Show comment
Hide comment
@Rekoe

Rekoe Jun 20, 2017

Member

直接在类属性上无效,只有在入口函数上生效

Member

Rekoe commented Jun 20, 2017

直接在类属性上无效,只有在入口函数上生效

@wendal wendal closed this in 6e85be9 Jun 21, 2017

@wendal wendal added this to the 1.r.62 milestone Jun 21, 2017

@wendal wendal self-assigned this Jun 21, 2017

@wendal wendal added the Mvc label Jun 21, 2017

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