We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我觉得可以在表格需要排序的列中加一个key字段 对应数据库字段 就不用每次都要对需要排序的字段用注解映射了 seezoon-generator/src/main/resources/template/vue/MainTable.vue.tpl <#if columnPlan.sortable> key: "${columnPlan.dbColumnName}", sorter: true, </#if>
seezoon-generator/src/main/resources/template/vue/MainTable.vue.tpl
<#if columnPlan.sortable> key: "${columnPlan.dbColumnName}", sorter: true, </#if>
The text was updated successfully, but these errors were encountered:
明白你的意思,这个注解的意思是限制能排序的列,而不是由前端定,如果某个字段没有索引,可能已排序db就cpu 100% 了哈,主要是简单防止有恶意的请求。
Sorry, something went wrong.
No branches or pull requests
我觉得可以在表格需要排序的列中加一个key字段 对应数据库字段 就不用每次都要对需要排序的字段用注解映射了
seezoon-generator/src/main/resources/template/vue/MainTable.vue.tpl
<#if columnPlan.sortable> key: "${columnPlan.dbColumnName}", sorter: true, </#if>
The text was updated successfully, but these errors were encountered: