diff --git a/src/utils/dateUtil.ts b/src/utils/dateUtil.ts index 687eb25..d20338a 100644 --- a/src/utils/dateUtil.ts +++ b/src/utils/dateUtil.ts @@ -6,11 +6,11 @@ import dayjs from 'dayjs'; const DATE_TIME_FORMAT = 'YYYY-MM-DD HH:mm:ss'; const DATE_FORMAT = 'YYYY-MM-DD'; -export function formatToDateTime(date: dayjs.Dayjs | undefined = undefined, format = DATE_TIME_FORMAT): string { +export function formatToDateTime(date: dayjs.ConfigType | undefined = undefined, format = DATE_TIME_FORMAT): string { return dayjs(date).format(format); } -export function formatToDate(date: dayjs.Dayjs | undefined = undefined, format = DATE_FORMAT): string { +export function formatToDate(date: dayjs.ConfigType | undefined = undefined, format = DATE_FORMAT): string { return dayjs(date).format(format); } diff --git a/src/views/site/common/header.vue b/src/views/site/common/header.vue index 8d80788..fa99353 100644 --- a/src/views/site/common/header.vue +++ b/src/views/site/common/header.vue @@ -33,8 +33,27 @@ \ No newline at end of file + + \ No newline at end of file diff --git a/src/views/site/index.vue b/src/views/site/index.vue index 8985e6f..4c13011 100644 --- a/src/views/site/index.vue +++ b/src/views/site/index.vue @@ -24,14 +24,23 @@ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// --> + + + + + - - - + + + + + + +