|
@@ -518,9 +518,9 @@ const convertToChartData = (
|
|
const formatPressure = (value: number | string) => {
|
|
const formatPressure = (value: number | string) => {
|
|
// console.log(typeof value,'------');
|
|
// console.log(typeof value,'------');
|
|
|
|
|
|
- if (typeof value == 'string') {
|
|
|
|
- return Number(value).toFixed(2);
|
|
|
|
- }
|
|
|
|
|
|
+ // if (typeof value == 'string') {
|
|
|
|
+ // return Number(value).toFixed(2);
|
|
|
|
+ // }
|
|
return value;
|
|
return value;
|
|
};
|
|
};
|
|
let machineImgParamsRef = ref({
|
|
let machineImgParamsRef = ref({
|