Fix bug second

This commit is contained in:
I Made Setia Baruna 2021-02-03 23:28:48 +08:00
parent aab75c177f
commit 241411d770

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() {