caipin 4 年之前
父節點
當前提交
d5fa97e043
共有 2 個文件被更改,包括 3 次插入1 次删除
  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 {