diff --git a/pages/browser/index.vue b/pages/browser/index.vue index 63bfe68..5b293b5 100644 --- a/pages/browser/index.vue +++ b/pages/browser/index.vue @@ -49,7 +49,7 @@ const formVisible = ref(false); interface RowData { Name: string; - creationDate: string; + CreationDate: string; } const columns: DataTableColumns = [ { @@ -71,8 +71,10 @@ const columns: DataTableColumns = [ }, { title: "创建时间", - // dataIndex: 'creationDate', key: "CreationDate", + render: (row: { CreationDate: string }) => { + return new Date(row.CreationDate).toLocaleString(); + }, }, { title: "操作",