This commit is contained in:
qsh
2025-01-13 14:29:32 +08:00
parent e10fedb4dc
commit 6ac19b825e
3 changed files with 10 additions and 4 deletions

View File

@@ -174,10 +174,10 @@ const searchForm = ref({})
function handleReset() {
const year = new Date().getFullYear()
const month = new Date().getMonth() + 1
const month = new Date().getMonth() + 1 + ''
searchForm.value = {
nickname: undefined,
consultTime: [`${year}-${month}-01`, formatDate(new Date())],
consultTime: [`${year}-${month.padStart(2, '0')}-01`, formatDate(new Date())],
licenseTypeList: [],
sourceId: undefined
}