update time

This commit is contained in:
weichengwu 2025-11-27 11:45:40 +08:00
parent cc1b8b7329
commit ab196497e7
1 changed files with 4 additions and 5 deletions

View File

@ -301,11 +301,10 @@ onMounted(() => {
if (response.data) {
activityInfo.value = {
...response.data,
// TODO:
// activityStartTime: dayjs(response.data.activityStartTime).format('YYYYMMDD'),
// activityEndTime: dayjs(response.data.activityEndTime).format('YYYYMMDD'),
activityStartTime: '2026年1月1日',
activityEndTime: '2026年12月31日',
activityStartTime: dayjs(response.data.activityStartTime).format('YYYY年MM月DD日'),
activityEndTime: dayjs(response.data.activityEndTime).format('YYYY年MM月DD日'),
// activityStartTime: '202611',
// activityEndTime: '20261231',
};
if (new Date(response.data.activityEndTime) < new Date()) {