|
@@ -828,7 +828,7 @@
|
|
|
uni.setStorageSync('mapGJ', this.$helper.gjList);
|
|
|
// console.log('this.$helper.gjList')
|
|
|
// console.log(this.$helper.gjList)
|
|
|
- // console.log("条数", uni.getStorageSync('mapGJ').length)
|
|
|
+ console.log("条数", uni.getStorageSync('mapGJ').length)
|
|
|
if (uni.getStorageSync('mapGJ').length > 100) {
|
|
|
// console.log(JSON.stringify(uni.getStorageSync('mapGJ')))
|
|
|
// that.send()
|
|
@@ -836,6 +836,7 @@
|
|
|
orderId: that.id,
|
|
|
longitudeLatitude: JSON.stringify(uni.getStorageSync('mapGJ'))
|
|
|
}).then(res => {
|
|
|
+ console.log("已发送定位",mapGJ)
|
|
|
uni.removeStorageSync('mapGJ');
|
|
|
this.$helper.gjList = []
|
|
|
})
|