@@ -1,6 +1,7 @@
{
"globals": {
"EffectScope": true,
+ "ElMessage": true,
"_mqttMessageCallback": true,
"acceptHMRUpdate": true,
"computed": true,
@@ -54,7 +54,6 @@
<div>
<div class="text1">
{{ formatGears(currentData?.gear) }}
- <span style="font-weight: 400; font-size: 16px">{{ currentData?.gear.unit }}</span>
</div>
<div class="text2">
{{ '档位' }}
@@ -65,7 +64,7 @@
{{ currentData?.weight.value ?? '--' }}
- <span style="font-weight: 400; font-size: 16px">{{ currentData?.weight.unit }}</span>
+ <span style="font-weight: 400; font-size: 16px">{{ currentData?.weight.unit ?? '' }}</span>
{{ '载荷' }}
@@ -51,7 +51,7 @@
<div class="item-info__el" v-if="item?.weight">
<div class="distance">
- {{ item?.weight?.value??'--' }}
+ {{ item?.weight?.value ?? '--' }}
<span style="font-size: 12px">{{ item.weight?.unit || item.weight?.unitName }}</span>
<div class="text">