Explorar el Código

格式化时间

傅行帆 hace 5 años
padre
commit
3715f8a365
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/pages/system/document/list.jsx

+ 1
- 1
src/pages/system/document/list.jsx Ver fichero

@@ -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
     {