|
@@ -96,7 +96,7 @@
|
|
|
topAreaListWs.length = 0;
|
|
|
cardListWs.length = 0;
|
|
|
if (JSON.stringify(val.common) != '{}') {
|
|
|
- warnText.value = val.common.pump[0].warnLevel || 0;
|
|
|
+ warnText.value = val.common.pump.length!=0 ? val.common.pump[0].warnLevel : 0;
|
|
|
val.common.pump.forEach((v) => {
|
|
|
topAreaListWs.push({
|
|
|
label: v.strinstallpos || '--',
|