-
Notifications
You must be signed in to change notification settings - Fork 941
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,表单集合填充问题 #419
Labels
Comments
@juqkai 有空看下不? |
没人看了? |
我测试了一下,没问题呢 表单, 注意3和4是反序的
入口方法
输出
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
参数 @param("::item.") Question item
Question 类有属性 private List options;
http表单提交的内容参数为:
item.options[0].id:f2302816-face-4352-a466-cd32c6cd332b
item.options[0].content:aa
item.options[0].proposalScore:4
item.options[0].score:4
item.options[1].id:d15315fd-d498-42c2-9792-0cfa0918727c
item.options[1].content:ssw
item.options[1].proposalScore:3
item.options[1].score:3
item.options[2].id:d570c75c-0580-4ce4-9d93-fdd2ebd89175
item.options[2].content:ss
item.options[2].proposalScore:2
item.options[2].score:2
item.options[3].id:7299ce8b-f0e4-4a29-8729-395637b8e9ad
item.options[3].content:sdf
item.options[3].proposalScore:1
item.options[3].score:1
item.options[4].id:f47dd4d1-4857-4dd1-9de6-9d8a334583db
item.options[4].content:df
item.options[4].proposalScore:5
item.options[4].score:5
发现 填充的List options列表并不是按照 options[]里边设置的序号排序的。
The text was updated successfully, but these errors were encountered: