修复温度显示过长的BUG,现在只显示小数点一位
This commit is contained in:
parent
75bbf17edd
commit
923dce1c87
|
@ -134,7 +134,9 @@
|
|||
<q-item-section avatar style="margin-right: 0px; padding-right: 0px"
|
||||
><q-icon class="text-white" name="img:svgs/fan.svg"
|
||||
/></q-item-section>
|
||||
<q-item-section> {{ $store.state.fan_temp }} ℃ </q-item-section>
|
||||
<q-item-section>
|
||||
{{ $store.state.fan_temp.toFixed(1) }} ℃
|
||||
</q-item-section>
|
||||
</q-item>
|
||||
<q-separator vertical inset />
|
||||
<q-btn-dropdown
|
||||
|
|
Loading…
Reference in New Issue