fix bug log
This commit is contained in:
parent
f18312fd23
commit
225f2c6be8
1 changed files with 7 additions and 2 deletions
|
|
@ -199,8 +199,8 @@ function handleScroll() {
|
||||||
searchAfter: searchAfter.value ?? undefined,
|
searchAfter: searchAfter.value ?? undefined,
|
||||||
sort: sortTime.value,
|
sort: sortTime.value,
|
||||||
// date: new Date(startDate.value),
|
// date: new Date(startDate.value),
|
||||||
startDate: new Date(startDate.value),
|
startDate: new Date(startDate.value) ?? undefined,
|
||||||
endDate: new Date(endDate.value),
|
endDate: new Date(endDate.value) ?? undefined,
|
||||||
},
|
},
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
|
|
@ -331,6 +331,11 @@ function updateDate() {
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
systemName.value = route.query.system as string;
|
systemName.value = route.query.system as string;
|
||||||
|
const date = new Date();
|
||||||
|
date.setHours(0, 0, 0, 0); // ตั้งเวลาเป็น 00:00:00.000
|
||||||
|
|
||||||
|
startDate.value = date.toISOString(); // แปลงเป็น ISO string
|
||||||
|
endDate.value = new Date().toISOString();
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue