This commit is contained in:
yanran200730
2022-02-11 12:04:43 +08:00
parent 0b1c2496c3
commit 6253fa17e9

View File

@@ -137,7 +137,12 @@ export default {
}
}
})
this.renderGridMap(arr)
if (!arr.filter(v => v.points).length) {
return this.$u.toast('该网格还未标会')
}
this.renderGridMap(arr.filter(v => v.points))
}
}).catch(() => {
this.$hideLoading()
@@ -171,7 +176,6 @@ export default {
},
renderGridMap(paths, count = 0) {
console.log(paths)
let {map, lib: TMap, $refs: {AiTMap: {fitBounds}}} = this
if (TMap) {
if(this.latLngCenter.length) {