修改 发泡温度、压力不显示

master
wanghao 4 months ago
parent ce4784728e
commit 5e1350a3f2

@ -1677,7 +1677,7 @@ const multipleVerticalBarChart1 = function (data, id) {
let charts = echarts.init(id);
let num1 = data.yDataOne.slice(0,4)
let num2 = data.yDataTwo.slice(0,4)
let num3 = data.yDataThree.slice(0,4)
// let num3 = data.yDataThree.slice(0,4)
num1 = num1.map(e => {
if (e > 14) {
return 14
@ -1696,15 +1696,15 @@ const multipleVerticalBarChart1 = function (data, id) {
return e
}
})
num3 = num3.map(e => {
if (e > 14) {
return 14
} else if (e < 10) {
return 10
} else {
return e
}
})
// num3 = num3.map(e => {
// if (e > 14) {
// return 14
// } else if (e < 10) {
// return 10
// } else {
// return e
// }
// })
if (!data) {
data = {
xName: [

Loading…
Cancel
Save