[代码完善](v2.5): update index.ftl

close https://github.com/elunez/eladmin/issues/474
pull/482/head
ZhengJie 2020-09-05 11:04:27 +08:00
parent 67f0e6b387
commit ae171c0223
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ export default {
dicts: [<#if hasDict??><#list dicts as dict>'${dict}'<#if dict_has_next>, </#if></#list></#if>], dicts: [<#if hasDict??><#list dicts as dict>'${dict}'<#if dict_has_next>, </#if></#list></#if>],
</#if> </#if>
cruds() { cruds() {
return CRUD({ title: '${apiAlias}', url: 'api/${changeClassName}', sort: '${pkChangeColName},desc', crudMethod: { ...crud${className} }}) return CRUD({ title: '${apiAlias}', url: 'api/${changeClassName}', idField: '${pkChangeColName}', sort: '${pkChangeColName},desc', crudMethod: { ...crud${className} }})
}, },
data() { data() {
return { return {