fix:修复订单监控总会显示弹窗的bug(采用时间比较形式)
This commit is contained in:
@@ -256,7 +256,8 @@
|
||||
longitude: location.longitude,
|
||||
latitude: location.latitude
|
||||
}
|
||||
|
||||
|
||||
console.log(userLocation.value);
|
||||
// 将经纬度写入本地缓存(基础信息)
|
||||
try {
|
||||
uni.setStorageSync('userLocation', {
|
||||
@@ -332,6 +333,7 @@
|
||||
longitude: userLocation.value.longitude
|
||||
}
|
||||
})
|
||||
console.log(res);
|
||||
|
||||
if (res.statusCode === 200 && res.data.code === 200) {
|
||||
positionList.value = res.data.rows || []
|
||||
|
||||
Reference in New Issue
Block a user