修改文章管理默认天数
This commit is contained in:
parent
abad8f8bba
commit
3cae4972ba
|
|
@ -183,7 +183,7 @@ const formatTags = (tags) => {
|
||||||
|
|
||||||
const initSearchInfo = () => {
|
const initSearchInfo = () => {
|
||||||
const endDate = new Date()
|
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 = ''
|
searchChannelId.value = ''
|
||||||
searchCategoryId.value = ''
|
searchCategoryId.value = ''
|
||||||
|
|
|
||||||
|
|
@ -123,7 +123,7 @@ const formatStatus = (value) => {
|
||||||
|
|
||||||
const initSearchInfo = () => {
|
const initSearchInfo = () => {
|
||||||
const endDate = new Date()
|
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 = {
|
searchInfo.value = {
|
||||||
dateRange: [
|
dateRange: [
|
||||||
formatTimeToStr(startDate, 'yyyy-MM-dd'),
|
formatTimeToStr(startDate, 'yyyy-MM-dd'),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue