💄 调整了代码生成默认的表格格式

This commit is contained in:
b2baccline
2020-02-11 19:35:32 +08:00
parent 1f06bc100d
commit d1d1ba6878

View File

@@ -43,7 +43,6 @@
:dataSource="dataSource"
:pagination="pagination"
:loading ="loading"
:bordered="true"
@change="handleTableChange"
>
<span slot="action-slot" slot-scope="text, record">
@@ -89,28 +88,24 @@ export default {
{
title: '$column.comments',
dataIndex: '$column.lowerAttrName',
align: 'center'
},
#end
#end
{
title: '创建时间',
dataIndex: 'createTime',
align: 'center',
width: '180px',
sorter: true
},
{
title: '更新时间',
dataIndex: 'updateTime',
align: 'center',
width: '180px',
sorter: true
},
{
title: '操作',
dataIndex: 'action',
align: 'center',
width: '150px',
scopedSlots: { customRender: 'action-slot' }
}