This commit is contained in:
陈红丽 2024-09-11 13:49:00 +08:00
parent 59d5168b77
commit 4b1a4c641d
2 changed files with 2 additions and 2 deletions

View File

@ -169,5 +169,5 @@ export const dynamicImport = (
*
* */
export const findFirstRoutePath = (routes)=>{
return routes[0].redirect?routes[0].redirect:routes[0].path
return routes.length > 0?(routes[0].redirect?routes[0].redirect:routes[0].path):''
}

View File

@ -80,7 +80,7 @@ export const columns = [
label: '投放时间',
prop: 'time',
render(record) {
return record.row.start_time + 'x' + record.row.end_time;
return record.row.startTime + '-' + record.row.endTime;
},
},
{