💪 optimize: 优化代码

This commit is contained in:
wangsongsole 2024-02-24 18:00:42 +08:00
parent 76e9b86c75
commit 4e4c334f8e
2 changed files with 6 additions and 6 deletions

View File

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

View File

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