diff --git a/src/views/gcaqjc/gcaqfx/jrx/index.js b/src/views/gcaqjc/gcaqfx/jrx/index.js index 9bd74ac63..d1c306570 100644 --- a/src/views/gcaqjc/gcaqfx/jrx/index.js +++ b/src/views/gcaqjc/gcaqfx/jrx/index.js @@ -99,7 +99,7 @@ export default function Xmzlmb() { ...obj, } }) - if (result.length > 0) { + if (result.length > 0 || res.data.length == 0) { setLoading(false) } // let res1 = result.map(item => ({...item,rz:(item.rz - 100).toFixed(2)})) //为了测试 最后需要删除 diff --git a/src/views/gcaqjc/gcaqfx/jrx/jrxOptions.js b/src/views/gcaqjc/gcaqfx/jrx/jrxOptions.js index 2c2f4b815..ac7e4baf4 100644 --- a/src/views/gcaqjc/gcaqfx/jrx/jrxOptions.js +++ b/src/views/gcaqjc/gcaqfx/jrx/jrxOptions.js @@ -118,7 +118,6 @@ export default function jrxOptions(data = {}, type = "1",typeName='1') { const filteredArray = line.filter(subArray => { return subArray.every(item => item !== null && item !== undefined); }); - console.log("line",line); return { @@ -377,11 +376,15 @@ export default function jrxOptions(data = {}, type = "1",typeName='1') { symbol: 'none', symbolSize: 10, z: 1, + smooth: 0.6, // 设置平滑度 + smoothMonotone: 'x', // 保持 x 方向的单调性 itemStyle: { color: '#5487FF' }, lineStyle: { color: '#5487FF', + width: 2, + curveness: 0.5 // 增加曲线程度 }, data: filteredArray },