Fix bug second

pull/1/head
I Made Setia Baruna 2021-02-03 23:28:48 +08:00
parent aab75c177f
commit 241411d770
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@
]; ];
let type; let type;
let name; let name;
let time = dayjs().format('YYYY-MM-DDTHH:mm'); let time = dayjs().format('YYYY-MM-DDTHH:mm:ss');
onMount(() => { onMount(() => {
if (!isEdit) return; if (!isEdit) return;
@ -40,7 +40,7 @@
name = weaponList[editName]; name = weaponList[editName];
} }
time = dayjs.unix(editTime).format('YYYY-MM-DDTHH:mm'); time = dayjs.unix(editTime).format('YYYY-MM-DDTHH:mm:ss');
}); });
function add() { function add() {