修复温度显示过长的BUG,现在只显示小数点一位

This commit is contained in:
fangxiang 2021-12-23 17:30:18 +08:00
parent 75bbf17edd
commit 923dce1c87
1 changed files with 3 additions and 1 deletions

View File

@ -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