设备地图bug修改
This commit is contained in:
parent
345a9cee1b
commit
cfe309c965
|
@ -581,7 +581,10 @@ export default {
|
||||||
this.data = [];
|
this.data = [];
|
||||||
listDevice({ pageNum: 1, pageSize: 999, areaId: areaId }).then(response => {
|
listDevice({ pageNum: 1, pageSize: 999, areaId: areaId }).then(response => {
|
||||||
// getDeviceLists(areaId).then(response => {
|
// getDeviceLists(areaId).then(response => {
|
||||||
this.deviceList = response.rows;
|
this.deviceList = response.rows
|
||||||
|
|
||||||
|
|
||||||
|
;
|
||||||
this.deviceList.forEach(device => {
|
this.deviceList.forEach(device => {
|
||||||
if (device.longitude !== null && device.latitude !== null &&
|
if (device.longitude !== null && device.latitude !== null &&
|
||||||
!isNaN(device.longitude) && !isNaN(device.latitude)) {
|
!isNaN(device.longitude) && !isNaN(device.latitude)) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user