Compare commits

...

2 Commits

Author SHA1 Message Date
秦子超 31969b1272 位移弹窗 2025-10-10 09:30:23 +08:00
秦子超 576f4793c4 修改时间 2025-10-09 17:58:43 +08:00
2 changed files with 8 additions and 8 deletions

View File

@ -152,7 +152,7 @@ export default function drpOption(data,yjData) {
lineStyle: { lineStyle: {
// type: "dashed" // type: "dashed"
}, },
data: data.map(o => o.x), data: data.map(o => o.de),
symbol: 'none', // 设置标记点为'none',即去掉圆点 symbol: 'none', // 设置标记点为'none',即去掉圆点
smooth: 0.5 smooth: 0.5
}, },
@ -165,7 +165,7 @@ export default function drpOption(data,yjData) {
lineStyle: { lineStyle: {
// type: "dashed" // type: "dashed"
}, },
data: data.map(o => o.y), data: data.map(o => o.dn),
symbol: 'none', // 设置标记点为'none',即去掉圆点 symbol: 'none', // 设置标记点为'none',即去掉圆点
smooth: 0.5 smooth: 0.5
}, },
@ -178,7 +178,7 @@ export default function drpOption(data,yjData) {
lineStyle: { lineStyle: {
// type: "dashed" // type: "dashed"
}, },
data: data.map(o => o.h), data: data.map(o => o.du),
symbol: 'none', // 设置标记点为'none',即去掉圆点 symbol: 'none', // 设置标记点为'none',即去掉圆点
smooth: 0.5 smooth: 0.5
}, },

View File

@ -24,14 +24,14 @@ const Page = ({ ctx, setCtx }) => {
{ {
cz:'程维德村', cz:'程维德村',
rk:6, rk:6,
sd:15, sd:0.5,
sj:'2025-08-04 18:00:00', sj:'2025-08-04 18:20:00',
}, },
{ {
cz:'程维德村', cz:'戴世英村',
rk:6, rk:6,
sd:15, sd:0.8,
sj:'2025-08-04 18:00:00', sj:'2025-08-04 18:50:00',
}, },
]) ])
const [data2,setData2] = useState([ const [data2,setData2] = useState([