|
@@ -518,9 +518,9 @@ const convertToChartData = (
|
|
|
const formatPressure = (value: number | string) => {
|
|
|
// console.log(typeof value,'------');
|
|
|
|
|
|
- if (typeof value == 'string') {
|
|
|
- return Number(value).toFixed(2);
|
|
|
- }
|
|
|
+ // if (typeof value == 'string') {
|
|
|
+ // return Number(value).toFixed(2);
|
|
|
+ // }
|
|
|
return value;
|
|
|
};
|
|
|
let machineImgParamsRef = ref({
|
|
@@ -761,7 +761,7 @@ const healthyStatusText = ref({
|
|
|
});
|
|
|
let flag = false
|
|
|
const healthyMessage = (data: Object) => {
|
|
|
- if (data.avg_num = 99) {
|
|
|
+ if (data.avg_num == 99) {
|
|
|
if (flag) {
|
|
|
data.avg_num = 92
|
|
|
flag = false
|