@@ -241,6 +241,11 @@ function initFirstData() {
{{ record.url }}
+
+
+ 编辑文章
+
+
diff --git a/src/components/const.js b/src/components/const.js
index cc0cb428209677a11ba2ec20fab5f00a61bc5c4a..9c2aec92e9c03bbd521fa8e0d120d120bd4ac680 100644
--- a/src/components/const.js
+++ b/src/components/const.js
@@ -31,4 +31,8 @@ export const tableColumns= [{
}, {
title: '发文时间',
dataIndex: 'postTime',
+ sorter: (a, b) => new Date(a.postTime) - new Date(b.postTime),
+ }, {
+ title: '操作',
+ key: 'option',
}]
\ No newline at end of file