设备地图bug修改

This commit is contained in:
tx 2024-08-17 13:43:51 +08:00
parent 345a9cee1b
commit cfe309c965

View File

@ -581,7 +581,10 @@ export default {
this.data = [];
listDevice({ pageNum: 1, pageSize: 999, areaId: areaId }).then(response => {
// getDeviceLists(areaId).then(response => {
this.deviceList = response.rows;
this.deviceList = response.rows
;
this.deviceList.forEach(device => {
if (device.longitude !== null && device.latitude !== null &&
!isNaN(device.longitude) && !isNaN(device.latitude)) {