Browse Source

格式化时间

傅行帆 5 years ago
parent
commit
3715f8a365
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/pages/system/document/list.jsx

+ 1
- 1
src/pages/system/document/list.jsx View File

@@ -84,7 +84,7 @@ function body(props) {
84 84
       dataIndex: 'createDate',
85 85
       key: 'createDate',
86 86
       align: 'center',
87
-      render: (createDate) => moment(createDate).format('YYYY-MM-DD h:mm:ss')
87
+      render: (createDate) => moment(createDate).format('YYYY-MM-DD HH:mm:ss')
88 88
     },
89 89
 
90 90
     {