[fix] bug
This commit is contained in:
parent
82fd4da27a
commit
ecce1db4cd
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user