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