diff --git a/hx-ai-intelligent/src/view/equipmentControl/airConditioningSystem/index.vue b/hx-ai-intelligent/src/view/equipmentControl/airConditioningSystem/index.vue index 0ae891a..b759746 100644 --- a/hx-ai-intelligent/src/view/equipmentControl/airConditioningSystem/index.vue +++ b/hx-ai-intelligent/src/view/equipmentControl/airConditioningSystem/index.vue @@ -22,7 +22,7 @@ @@ -32,7 +32,7 @@ @@ -43,8 +43,8 @@
@@ -52,14 +52,14 @@
@@ -81,24 +81,26 @@
@@ -122,14 +124,14 @@ :key="index" style="display: flex" :style="{ - width: item.styleText.width, - height: item.styleText.height, - background: item.styleText.color, - marginLeft: item.styleText.mLeft, - position: item.styleText.position, - top: item.styleText.top, - left: item.styleText.abLeft, - border: item.styleText.border, + width: item?.styleText?.width, + height: item?.styleText?.height, + background: item?.styleText?.color, + marginLeft: item?.styleText?.mLeft, + position: item?.styleText?.position, + top: item?.styleText?.top, + left: item?.styleText?.abLeft, + border: item?.styleText?.border, }"> @@ -148,23 +150,24 @@ style="position: absolute; z-index: 1" :style="{ left: - 'calc(' + item.styleText.left + (item.lineType === 1 ? ' - 12.9%)' : ' - 13.3%)'), + 'calc(' + item?.styleText?.left + (item.lineType === 1 ? ' - 12.9%)' : ' - 13.3%)'), bottom: - 'calc(' + item.styleText.bottom + (item.lineType === 1 ? ' + 8%)' : ' - 14%)'), + 'calc(' + item?.styleText?.bottom + (item.lineType === 1 ? ' + 8%)' : ' - 14%)'), }"> @@ -174,9 +177,9 @@ :key="index" style="display: flex" :style="{ - width: item.styleText.width, - background: item.styleText.color, - border: item.styleText.border, + width: item?.styleText?.width, + background: item?.styleText?.color, + border: item?.styleText?.border, }"> diff --git a/hx-ai-intelligent/src/view/equipmentControl/electricDoor/index.vue b/hx-ai-intelligent/src/view/equipmentControl/electricDoor/index.vue index 6216663..534a538 100644 --- a/hx-ai-intelligent/src/view/equipmentControl/electricDoor/index.vue +++ b/hx-ai-intelligent/src/view/equipmentControl/electricDoor/index.vue @@ -92,7 +92,7 @@