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] || "" } } },