更新表格样式
This commit is contained in:
@@ -45,7 +45,7 @@ const columns = [
|
||||
title: "文件名称",
|
||||
key: "file_name",
|
||||
dataIndex: "file_name",
|
||||
align: "center",
|
||||
// align: "center",
|
||||
slots: {
|
||||
customRender: "file_name",
|
||||
},
|
||||
@@ -54,7 +54,7 @@ const columns = [
|
||||
title: "时间",
|
||||
key: "created_at",
|
||||
dataIndex: "created_at",
|
||||
align: "center",
|
||||
// align: "center",
|
||||
// sorter: true,
|
||||
sorter: (a, b) => { return a.time> b.time? 1 : -1 },
|
||||
},
|
||||
@@ -62,7 +62,7 @@ const columns = [
|
||||
title: "文件大小",
|
||||
key: "file_size",
|
||||
dataIndex: "file_size",
|
||||
align: "center",
|
||||
// align: "center",
|
||||
slots: {
|
||||
customRender: "file_size",
|
||||
},
|
||||
@@ -71,7 +71,7 @@ const columns = [
|
||||
title: "状态",
|
||||
dataIndex: "status_str",
|
||||
key: "status_str",
|
||||
align: "center",
|
||||
// align: "center",
|
||||
slots: {
|
||||
customRender: "status_str",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user