From 4e4c334f8efa8b88fee7cb346f583cd389241287 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Sat, 24 Feb 2024 18:00:42 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=AA=20optimize:=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/combining/index.jsx | 4 ++-- src/pages/exchangecode/combiningAdd/index.jsx | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/combining/index.jsx b/src/components/combining/index.jsx index 31071d5c..5b1ec960 100644 --- a/src/components/combining/index.jsx +++ b/src/components/combining/index.jsx @@ -238,8 +238,8 @@ const Combining = forwardRef((props, ref) => { start_time: info.date_time[0] }, receive_time: { - end_time: info.timer[1], - start_time: info.timer[0] + end_time: info.timer[1] || "", + start_time: info.timer[0] || "" } } }, diff --git a/src/pages/exchangecode/combiningAdd/index.jsx b/src/pages/exchangecode/combiningAdd/index.jsx index 440f240c..5bfe28e7 100644 --- a/src/pages/exchangecode/combiningAdd/index.jsx +++ b/src/pages/exchangecode/combiningAdd/index.jsx @@ -430,8 +430,8 @@ export default class combiningAdd extends React.Component { start_time: codeInfo.date_time[0] }, receive_time: { - end_time: codeInfo.timer[1], - start_time: codeInfo.timer[0] + end_time: codeInfo.timer[1] || "", + start_time: codeInfo.timer[0] || "" } } }, @@ -479,8 +479,8 @@ export default class combiningAdd extends React.Component { start_time: codeInfo.date_time[0] }, receive_time: { - end_time: codeInfo.timer[1], - start_time: codeInfo.timer[0] + end_time: codeInfo.timer[1] || "", + start_time: codeInfo.timer[0] || "" } } },