修改设备类型选择

master
夜笙歌 2 years ago
parent dbc4dec3e8
commit 06a524436e

@ -87,7 +87,7 @@ AMapLoader.load({
const handleQuery = () => {
polyline ? map.remove([polyline]) : ''
getTrack(proxy.addDateRange(queryParams.value, dateRange.value)).then(e => {
polylinePath.value = e.data.map(val => [val.longitude + (Math.random()), val.latitude + (Math.random())])
polylinePath.value = e.data.map(val => [val.longitude, val.latitude])
polyline = new AMap.Polyline({
strokeColor: '#00BBFF', // 线-
path: polylinePath.value,

Loading…
Cancel
Save