💄 调整了代码生成默认的表格格式
This commit is contained in:
@@ -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' }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user