|
@ -62,7 +62,7 @@ |
|
|
class="liquid_column" |
|
|
class="liquid_column" |
|
|
:style="{ |
|
|
:style="{ |
|
|
'--height': `${ |
|
|
'--height': `${ |
|
|
((disinfectantCapacity <= 0 ? 0 : disinfectantCapacity) / 5000) * |
|
|
|
|
|
|
|
|
((disinfectantCapacity <= 0 ? 0 : disinfectantCapacity) / 2300) * |
|
|
472 |
|
|
472 |
|
|
}px`, |
|
|
}px`, |
|
|
}" |
|
|
}" |
|
@ -193,8 +193,8 @@ const webSocketStore = useWebSocketStore() |
|
|
const isPopLiquidStatus = ref(false) |
|
|
const isPopLiquidStatus = ref(false) |
|
|
|
|
|
|
|
|
const formatter = value => { |
|
|
const formatter = value => { |
|
|
if (parseInt(value) > 5000) { |
|
|
|
|
|
return '5000' |
|
|
|
|
|
|
|
|
if (parseInt(value) > 2300) { |
|
|
|
|
|
return '2300' |
|
|
} |
|
|
} |
|
|
if (parseInt(value) <= 0) { |
|
|
if (parseInt(value) <= 0) { |
|
|
return '0' |
|
|
return '0' |
|
|