From 52fa3ff4916ab67eb247f04eebef06dd181bd6f9 Mon Sep 17 00:00:00 2001
From: zhaohy <1695786511@qq.com>
Date: Mon, 2 Sep 2024 15:16:45 +0800
Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../equipmentControl/coldAndHeatSources/index.vue | 40 +++++++++++-----------
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/hx-ai-intelligent/src/view/equipmentControl/coldAndHeatSources/index.vue b/hx-ai-intelligent/src/view/equipmentControl/coldAndHeatSources/index.vue
index 96efdbf..c39fbc3 100644
--- a/hx-ai-intelligent/src/view/equipmentControl/coldAndHeatSources/index.vue
+++ b/hx-ai-intelligent/src/view/equipmentControl/coldAndHeatSources/index.vue
@@ -12,12 +12,12 @@
color: #ffff80;
z-index: 2;
"
- :style="{ left: item.style.mLeft, bottom: item.style.mBottom }">
+ :style="{ left: item?.style?.mLeft, bottom: item?.style?.mBottom }">
{{ item.deviceInfoName }}
- 模式: {{ item.autoStatus.label }}
+ 模式: {{ item?.autoStatus?.label }}
设定温度:
{{ item.temp }} {{ item.tempUnit }}
@@ -39,7 +39,7 @@
color: #ffff80;
z-index: 2;
"
- :style="{ left: item.style.mLeft, bottom: item.style.mBottom }">
+ :style="{ left: item?.style?.mLeft, bottom: item?.style?.mBottom }">
出水温度: {{ item.temp }} {{ item.tempUnit }}
@@ -86,7 +86,7 @@
color: #ffff80;
z-index: 2;
"
- :style="{ left: item.style.mLeft, bottom: item.style.mBottom }">
+ :style="{ left: item?.style.mLeft, bottom: item?.style.mBottom }">
温度: {{ item.temp }} {{ item.tempUnit }}
@@ -110,7 +110,7 @@
color: #ffff80;
z-index: 2;
"
- :style="{ left: item.style.mLeft, bottom: item.style.mBottom }">
+ :style="{ left: item?.style?.mLeft, bottom: item?.style?.mBottom }">
@@ -118,7 +118,7 @@
{{ item.deviceInfoName }}
- 模式: {{ item.autoStatus.label }}
+ 模式: {{ item?.autoStatus?.label }}
设定温度:
{{ item.temp }} {{ item.tempUnit }}
@@ -137,7 +137,7 @@
color: #ffff80;
z-index: 2;
"
- :style="{ left: item.style.mLeft, bottom: item.style.mBottom }">
+ :style="{ left: item?.style?.mLeft, bottom: item?.style?.mBottom }">
+ :style="{ left: item?.style?.mLeft, bottom: item?.style?.mBottom }">
{{ item.deviceInfoName }}
@@ -191,7 +191,7 @@
font-size: 12px;
position: absolute;
"
- :style="{ left: item.style.mLeft, bottom: item.style.mBottom }">
+ :style="{ left: item?.style?.mLeft, bottom: item?.style?.mBottom }">
+ :style="{ left: item?.style?.mLeft, bottom: item?.style?.mBottom }">
回水温度: {{ item.temp }} {{ item.tempUnit }}
@@ -274,7 +274,7 @@
+ :style="{ left: item?.style?.mLeft, bottom: item?.style?.mBottom }">
+ :style="{ left: item?.style?.mLeft, bottom: item?.style?.mBottom }">
+ :style="{ left: item?.style?.mLeft, bottom: item?.style?.mBottom }">
供水温度: {{ item.temp }} {{ item.tempUnit }}
@@ -452,9 +452,9 @@
style="height: 12px; position: absolute; border-radius: 4px"
:style="{
'background-image': 'url(' + item.url + ')',
- left: item.style.mLeft,
+ left: item?.style?.mLeft,
width: item.style.width,
- bottom: item.style.mBottom,
+ bottom: item?.style?.mBottom,
transform: item.style.transform,
'z-index': item.style.zIndex,
}">
@@ -465,8 +465,8 @@