27293
This commit is contained in:
@@ -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(() => {
|
}).catch(() => {
|
||||||
this.$hideLoading()
|
this.$hideLoading()
|
||||||
@@ -171,7 +176,6 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
renderGridMap(paths, count = 0) {
|
renderGridMap(paths, count = 0) {
|
||||||
console.log(paths)
|
|
||||||
let {map, lib: TMap, $refs: {AiTMap: {fitBounds}}} = this
|
let {map, lib: TMap, $refs: {AiTMap: {fitBounds}}} = this
|
||||||
if (TMap) {
|
if (TMap) {
|
||||||
if(this.latLngCenter.length) {
|
if(this.latLngCenter.length) {
|
||||||
|
|||||||
Reference in New Issue
Block a user