|
@@ -313,7 +313,7 @@ const toggleMapType = () => {
|
|
|
|
|
|
const getData = async () => {
|
|
const getData = async () => {
|
|
await IotDeviceApi.getMapDevice().then((res) => {
|
|
await IotDeviceApi.getMapDevice().then((res) => {
|
|
- devices.value = res
|
|
|
|
|
|
+ devices.value = res.filter((item)=> item.lat!=0&&item.lng!=0)
|
|
initMap()
|
|
initMap()
|
|
})
|
|
})
|
|
}
|
|
}
|