修改障碍物保存逻辑

main
suixy 1 month ago
parent 9a848cae39
commit e9ac022f2e

@ -61,7 +61,7 @@
left: `${getDotX(dot.x)}%`, left: `${getDotX(dot.x)}%`,
bottom: `${getDotY(dot.y)}%`, bottom: `${getDotY(dot.y)}%`,
transform: `translate(-50%, 50%) `, transform: `translate(-50%, 50%) `,
background: dot.type == 0 ? 'radial-gradient(circle at center, #ea1212 0%, rgba(228, 116, 116, 0.2) 100%)':'radial-gradient(circle at center, #12ea12 0%, rgba(116, 228, 116, 0.2) 100%)' background: dot.type == 0 ? 'radial-gradient(circle at center, #ea1212 0%, rgba(228, 116, 116, 0.2) 100%)':(dot.type == 2?'radial-gradient(circle at center, #12ea12 0%, rgba(116, 228, 116, 0.2) 100%)':'')
}" }"
style="white-space: nowrap" style="white-space: nowrap"
> >

@ -1102,7 +1102,7 @@ const batchShild = () => {
lon: row.Lon, lon: row.Lon,
lat: row.Lat, lat: row.Lat,
strength: row.rate, strength: row.rate,
name: [], name: '',
deviation: shieldInfoForm.value.deviation, deviation: shieldInfoForm.value.deviation,
shielding: shieldInfoForm.value.shielding, shielding: shieldInfoForm.value.shielding,
}) })

Loading…
Cancel
Save