代码优化
This commit is contained in:
parent
7b5144442b
commit
5577762fd7
|
|
@ -214,8 +214,8 @@ export default {
|
|||
|
||||
count: 0,
|
||||
trackAni: null, // 轨迹实例
|
||||
calLon: '',
|
||||
calLat: '',
|
||||
calLon: 116.404,
|
||||
calLat: 39.915,
|
||||
|
||||
// 查询设备行程信息的参数
|
||||
tripParams: {
|
||||
|
|
@ -276,8 +276,8 @@ export default {
|
|||
iotId: this.iotCode,
|
||||
})
|
||||
// 获取经纬度并赋值
|
||||
this.calLon = res.callon || 116.404
|
||||
this.calLat = res.callat || 39.915
|
||||
this.calLon = res.callon
|
||||
this.calLat = res.callat
|
||||
}
|
||||
},
|
||||
handleClickQuery() {
|
||||
|
|
|
|||
|
|
@ -485,7 +485,7 @@ export default {
|
|||
const res = await receiveNotificationsDetailsApi(params)
|
||||
console.log(res, '接收的数据')
|
||||
|
||||
this.tableData = res.rows
|
||||
// this.tableData = res.rows
|
||||
this.total = res.total
|
||||
// console.log('🚀 ~ getList ~ 获取列表:', params)
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue