@@ -675,7 +675,7 @@ const export2Excel = async () => {
}
const stationName = stationList.value.find((ele) => {
return ele.id === state.stationId;
- }).name;
+ })?.name || "";
const fileName = `${stationName} ${state.dateTime[0]} ~ ${state.dateTime[1]} 数据表`;
outExportExcel(
tableHeader,