|
|
@ -47,7 +47,7 @@ |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="flex items-center py-4 justify-between px-2"> |
|
|
|
<div class="temp_text">{{ trayInfo.heatAearStatus.temperature }}</div> |
|
|
|
<div class="temp_text">{{ trayInfo.heatAearStatus?.temperature }}</div> |
|
|
|
<button |
|
|
|
:class="`btn-light text-sm px-4 text_choose ${trayInfo.isSelect ? 'text_color' : ''}`" |
|
|
|
@click.stop="onSelectTray" |
|
|
@ -146,7 +146,7 @@ watch(()=>trayInfo, (newVal:any) =>{ |
|
|
|
}) |
|
|
|
const reSet = (newVal:any) => { |
|
|
|
let heatAreaData = {...newVal} |
|
|
|
if(heatAreaData.heatAearStatus.trayStatus){ |
|
|
|
if(heatAreaData.heatAearStatus?.trayStatus){ |
|
|
|
if(heatAreaData.tubeList && heatAreaData.tubeList.length){ |
|
|
|
heatAreaData.tubeList.forEach((item:any) => { |
|
|
|
item.backgroudColor = selectedBackgroundColor |
|
|
|