|
@@ -490,13 +490,15 @@ async function getList() {
|
|
|
? res.info.sysInfo.fireS.summaryInfo.external.coval.value
|
|
|
: '';
|
|
|
|
|
|
- if (res.bundletubeInfo.msgTxt[0].datalist.length != 0) {
|
|
|
+ if (res.bundletubeInfo.msgTxt.length!=0 && res.bundletubeInfo.msgTxt[0].datalist.length != 0) {
|
|
|
res.bundletubeInfo.msgTxt[0].datalist.forEach((el, ind) => {
|
|
|
fireMonitor1.push({
|
|
|
value: el.readData.internalFireWarnLevel,
|
|
|
value1: el.strinstallpos,
|
|
|
});
|
|
|
});
|
|
|
+ }else {
|
|
|
+ fireMonitor1.length=0
|
|
|
}
|
|
|
gasMonitor.length = 0;
|
|
|
gasData.sums = 0;
|