Browse Source

问题修改

SunZehao 5 tháng trước cách đây
mục cha
commit
69a6ed3097
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/IntegratedAlarm/safe/customWarning/index.vue

+ 1 - 1
src/views/IntegratedAlarm/safe/customWarning/index.vue

@@ -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,