diff --git a/build.rar b/build.rar new file mode 100644 index 000000000..6241d5434 Binary files /dev/null and b/build.rar differ diff --git a/src/views/sq/qys/gcys/xlLine/drpOption.js b/src/views/sq/qys/gcys/xlLine/drpOption.js index 61022aee1..a70c48ffa 100644 --- a/src/views/sq/qys/gcys/xlLine/drpOption.js +++ b/src/views/sq/qys/gcys/xlLine/drpOption.js @@ -7,14 +7,12 @@ export default function drpOption({data}) { const maxValX = Math.max(...data.map(obj => obj.z)) const minValX = Math.min(...data.map(obj => obj.z)) - - let arr =[] data.forEach(item=>{ - console.log(data); - arr.push([item.q,item.z]) + arr.push([item.z,item.q]) }) - // console.log(GetInterval(minValX,maxValX),'jhsdjkashdjkahjk'); + console.log(arr,data.map(o => o.z),'jhsdjkashdjkahjk'); + // debugger; return { toolbox: { show: true, @@ -89,7 +87,7 @@ export default function drpOption({data}) { { type: 'line', color: "#007AFD", - data: arr, + data: arr, smooth: true }, ]