菜单名称更改

lsf-dev
xielei 2024-10-18 18:02:33 +08:00
parent 16e2972f0c
commit 460368786c
2 changed files with 4 additions and 6 deletions

BIN
build.rar Normal file

Binary file not shown.

View File

@ -7,14 +7,12 @@ export default function drpOption({data}) {
const maxValX = Math.max(...data.map(obj => obj.z)) const maxValX = Math.max(...data.map(obj => obj.z))
const minValX = Math.min(...data.map(obj => obj.z)) const minValX = Math.min(...data.map(obj => obj.z))
let arr =[] let arr =[]
data.forEach(item=>{ data.forEach(item=>{
console.log(data); arr.push([item.z,item.q])
arr.push([item.q,item.z])
}) })
// console.log(GetInterval(minValX,maxValX),'jhsdjkashdjkahjk'); console.log(arr,data.map(o => o.z),'jhsdjkashdjkahjk');
// debugger;
return { return {
toolbox: { toolbox: {
show: true, show: true,
@ -89,7 +87,7 @@ export default function drpOption({data}) {
{ {
type: 'line', type: 'line',
color: "#007AFD", color: "#007AFD",
data: arr, data: arr,
smooth: true smooth: true
}, },
] ]