Update SpecialTimeStore.ts

This commit is contained in:
AnandaTon 2023-12-04 13:04:47 +07:00
parent 5c28d14047
commit 4a774f497e

View file

@ -41,8 +41,12 @@ export const useSpecialTimeStore = defineStore("LeaveSpecialTime", () => {
// paging
const toDay = ref<Date>(new Date());
const month = ref<number>(11);
const year = ref<number>(2023);
const monthToday = toDay.value.getMonth();
const yearToday = toDay.value.getFullYear();
console.log(monthToday + 1);
const month = ref<number>(monthToday + 1);
const year = ref<number>(yearToday);
const page = ref<number>(1);
const total = ref<number>(0);
const pageSize = ref<number>(10);