Browse Source

修复bug: 温度未更新

feature/history-20250108
zhangjiming 7 months ago
parent
commit
0255f13ee9
  1. 6
      src/pages/Index/components/Consumables/SpttingPlates.vue

6
src/pages/Index/components/Consumables/SpttingPlates.vue

@ -7,8 +7,8 @@
<div class="area-text">反应板夹区</div>
</div>
<div class="real-time-temperature">
<div :class="['status-ball', { 'overheat': currentTemperature > 40 }]"></div>
<div class="number">温度: {{ currentTemperature }}°</div>
<div :class="['status-ball', { 'overheat': temperature > 40 }]"></div>
<div class="number">温度: {{ temperature }}°</div>
</div>
</div>
<!--反应板显示区域-->
@ -55,8 +55,6 @@ const props = defineProps({
default: 40
}
})
//
const currentTemperature = ref(props.temperature);
const changeNumRef = ref()
const changeNumber = (plate, index) => {

Loading…
Cancel
Save