caipin hace 4 años
padre
commit
d5fa97e043
Se han modificado 2 ficheros con 3 adiciones y 1 borrados
  1. 1 1
      src/pages/Dashboard/index.tsx
  2. 2 0
      src/types/dashboard.d.ts

+ 1 - 1
src/pages/Dashboard/index.tsx

@@ -77,7 +77,7 @@ const Index = () => {
                             </div>
                             <div className="pi-justify-between mt-1 ">
                               <span>{item.name}-{item.position}</span>
-                              <span>{dayjsFormat(item.createTime, 'MM-DD HH:mm')}</span>
+                              <span>{dayjsFormat(item.updateTime, 'MM-DD HH:mm')}</span>
                             </div>
                           </li>
                         )

+ 2 - 0
src/types/dashboard.d.ts

@@ -1,3 +1,4 @@
+
 export interface DashboardState {
   approverData: ApproverDatum[];
   messageData: MessageDatum[];
@@ -22,6 +23,7 @@ interface ApproverDatum {
   name: string;
   position: string;
   createTime: string;
+  updateTime: string
   bidsectionName: string;
 }
 interface MessageDatum {