zlisen 3 years ago
parent
commit
f63e5ff74d
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/pages/building/log/index.jsx

+ 2
- 2
src/pages/building/log/index.jsx View File

@@ -1,7 +1,6 @@
1 1
 import React, { useMemo, useRef, useCallback, useState } from 'react';
2 2
 import apis from '@/services/apis';
3
-import request from '@/utils/request';
4
-import AuthButton from '@/components/AuthButton';
3
+import moment from 'moment'
5 4
 import QueryTable from '@/components/QueryTable';
6 5
 import BuildingSelect from '@/components/SelectButton/BuildSelect';
7 6
 
@@ -38,6 +37,7 @@ export default props => {
38 37
       dataIndex: 'updateTime',
39 38
       key: 'updateTime',
40 39
       align: 'center',
40
+      render:(t)=>moment(t).format('YYYY-MM-DD HH:mm:ss')
41 41
     },
42 42
   ];
43 43