Grails GSP页面如何根据Model类排序 需要在constraints 中按顺序编写如下: static constraints = { userName() password() } 这样,页面就会根据contraints的内容自动排序了。 Other 2024-01-28 42 点赞 0 评论 63 浏览