[fix] bug

This commit is contained in:
建喵 2023-12-06 15:14:15 +08:00
parent 82fd4da27a
commit ecce1db4cd

View File

@ -159,7 +159,7 @@ const SDGame = (props: ISDGame) => {
} }
function AddLog(s: string) { function AddLog(s: string) {
const todayTimeStr: string = dayjs().format("YYYY/MM/DD 00:00:00"); const todayTimeStr: string = dayjs().format("YYYY/MM/DD HH:mm:ss");
setLog((v) => { setLog((v) => {
if (v.length > 100) { if (v.length > 100) {
v.pop(); v.pop();