diff --git a/modules/core/src/main/resources/templates/modules/gen/crud/vueList.xml b/modules/core/src/main/resources/templates/modules/gen/crud/vueList.xml index fcef2b02e..27bc58359 100644 --- a/modules/core/src/main/resources/templates/modules/gen/crud/vueList.xml +++ b/modules/core/src/main/resources/templates/modules/gen/crud/vueList.xml @@ -253,7 +253,7 @@ if(table.isTreeEntity){ dataIndex: '${c.attrName}', width: 230, align: 'left', - slots: { customRender: 'firstColumn' }, + slot: 'firstColumn', }, <% firstColumn = false; @@ -298,7 +298,7 @@ for(c in table.columnList){ dictType: '${c.optionMap['dictType']}', <% } %> <% if(firstColumn){ %> - slots: { customRender: 'firstColumn' }, + slot: 'firstColumn', <% } %> }, <%