查询时bug修复

This commit is contained in:
BianLzhaoMin 2025-03-24 10:07:08 +08:00
parent 9bb9a57f90
commit cb32d6ebcf
2 changed files with 4 additions and 4 deletions

View File

@ -161,8 +161,8 @@ export default {
try {
const params = {
...this.queryParams,
startTime: this.timeRange[0] || '',
endTime: this.timeRange[1] || ''
startTime: this.timeRange ? this.timeRange[0] : '',
endTime: this.timeRange ? this.timeRange[1] : ''
}
const res = await getDirectAuditListApi(params)
this.tableList = res.rows

View File

@ -161,8 +161,8 @@ export default {
try {
const params = {
...this.queryParams,
startTime: this.timeRange[0] || '',
endTime: this.timeRange[1] || ''
startTime: this.timeRange ? this.timeRange[0] : '',
endTime: this.timeRange ? this.timeRange[1] : ''
}
const res = await getReceiveApplyApi(params)
this.tableList = res.data.rows