fix bug log
This commit is contained in:
parent
8cc1f62e17
commit
97d1323437
2 changed files with 2 additions and 3 deletions
|
|
@ -220,7 +220,7 @@ async function selectedOrg(id: string) {
|
|||
size: size.value ?? undefined,
|
||||
search: inputSearch.value ?? undefined,
|
||||
systemName: systemName.value ?? undefined,
|
||||
// searchAfter: searchAfter.value ?? undefined,
|
||||
searchAfter: searchAfter.value ?? undefined,
|
||||
sort: sortTime.value,
|
||||
startDate: new Date(startDate.value) ?? undefined,
|
||||
endDate: new Date(endDate.value) ?? undefined,
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ export const useDataStore = defineStore("logStore", () => {
|
|||
const size = ref<number>(30);
|
||||
const logData = ref<ResLog[]>([]);
|
||||
const systemName = ref<string>();
|
||||
const searchAfter = ref<number>();
|
||||
const searchAfter = ref<number | undefined>(undefined);
|
||||
const date = ref<[Date, Date]>([new Date(), new Date()]);
|
||||
async function fetchLog(
|
||||
opts?: {
|
||||
|
|
@ -75,7 +75,6 @@ export const useDataStore = defineStore("logStore", () => {
|
|||
});
|
||||
}
|
||||
|
||||
|
||||
return {
|
||||
size,
|
||||
logData,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue