From 5d31d6636518f45206fdc7c95ba588c764c17f10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E8=B6=85?= Date: Wed, 1 Dec 2021 11:17:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=91=E7=9A=84=E7=94=B3=E8=AF=B7-=E5=AE=A1?= =?UTF-8?q?=E6=89=B9=E5=88=97=E8=A1=A8=E5=88=97-=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E3=80=81=E5=AE=A1=E6=89=B9=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=97=A0=E6=95=B0=E6=8D=AE=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/container/user-center/order-list.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kafka-manager-console/src/container/user-center/order-list.tsx b/kafka-manager-console/src/container/user-center/order-list.tsx index 119168cd..5ed5b961 100644 --- a/kafka-manager-console/src/container/user-center/order-list.tsx +++ b/kafka-manager-console/src/container/user-center/order-list.tsx @@ -118,14 +118,14 @@ export class OrderList extends SearchAndFilterContainer { dataIndex: 'gmtCreate', key: 'gmtCreate', sorter: (a: IBaseOrder, b: IBaseOrder) => b.gmtCreate - a.gmtCreate, - render: (t: number) => moment(t).format(timeFormat), + render: (t: number) => t ? moment(t).format(timeFormat) : '-', }, { title: '审批时间', dataIndex: 'gmtHandle', key: 'gmtHandle', sorter: (a: IBaseOrder, b: IBaseOrder) => b.gmtHandle - a.gmtHandle, - render: (t: number) => moment(t).format(timeFormat), + render: (t: number) => t ? moment(t).format(timeFormat) : '-', }, { title: '操作',