diff --git a/src/view/content/article/index.vue b/src/view/content/article/index.vue index f305b4e..ba5b2e2 100644 --- a/src/view/content/article/index.vue +++ b/src/view/content/article/index.vue @@ -183,7 +183,7 @@ const formatTags = (tags) => { const initSearchInfo = () => { const endDate = new Date() - const startDate = new Date(endDate.getTime() - 7 * 24 * 60 * 60 * 1000) + const startDate = new Date(endDate.getTime() - 30 * 24 * 60 * 60 * 1000) searchChannelId.value = '' searchCategoryId.value = '' diff --git a/src/view/content/fetcher/article.vue b/src/view/content/fetcher/article.vue index 4fd7117..682075d 100644 --- a/src/view/content/fetcher/article.vue +++ b/src/view/content/fetcher/article.vue @@ -123,7 +123,7 @@ const formatStatus = (value) => { const initSearchInfo = () => { const endDate = new Date() - const startDate = new Date(endDate.getTime() - 7 * 24 * 60 * 60 * 1000) + const startDate = new Date(endDate.getTime() - 30 * 24 * 60 * 60 * 1000) searchInfo.value = { dateRange: [ formatTimeToStr(startDate, 'yyyy-MM-dd'),