|
@@ -192,7 +192,7 @@ const getCertList = async () => {
|
|
|
certData.value = props.sensorList?.filter(item =>
|
|
|
item.se_state == 1
|
|
|
)
|
|
|
- certData.value.forEach(obj1 => {
|
|
|
+ certData.value?.forEach(obj1 => {
|
|
|
const matchingObj2 = data?.list?.find(obj2 => obj2.se_type === obj1.se_type);
|
|
|
if (matchingObj2) {
|
|
|
obj1.cal_sn = matchingObj2.cal_sn;
|
|
@@ -204,7 +204,7 @@ const getCertList = async () => {
|
|
|
certData2.value = props.sensorList?.filter(item =>
|
|
|
item.se_state == 2
|
|
|
)
|
|
|
- certData2.value.forEach(obj1 => {
|
|
|
+ certData2.value?.forEach(obj1 => {
|
|
|
const matchingObj2 = data?.list?.find(obj2 => obj2.se_type === obj1.se_type);
|
|
|
if (matchingObj2) {
|
|
|
obj1.cal_sn = matchingObj2.cal_sn;
|