代码优化

This commit is contained in:
BianLzhaoMin 2024-11-11 09:23:10 +08:00
parent 7b5144442b
commit 5577762fd7
2 changed files with 5 additions and 5 deletions

View File

@ -214,8 +214,8 @@ export default {
count: 0, count: 0,
trackAni: null, // trackAni: null, //
calLon: '', calLon: 116.404,
calLat: '', calLat: 39.915,
// //
tripParams: { tripParams: {
@ -276,8 +276,8 @@ export default {
iotId: this.iotCode, iotId: this.iotCode,
}) })
// //
this.calLon = res.callon || 116.404 this.calLon = res.callon
this.calLat = res.callat || 39.915 this.calLat = res.callat
} }
}, },
handleClickQuery() { handleClickQuery() {

View File

@ -485,7 +485,7 @@ export default {
const res = await receiveNotificationsDetailsApi(params) const res = await receiveNotificationsDetailsApi(params)
console.log(res, '接收的数据') console.log(res, '接收的数据')
this.tableData = res.rows // this.tableData = res.rows
this.total = res.total this.total = res.total
// console.log('🚀 ~ getList ~ :', params) // console.log('🚀 ~ getList ~ :', params)
}, },