BUG 25650
This commit is contained in:
@@ -127,9 +127,11 @@ export default {
|
|||||||
},
|
},
|
||||||
handleNodeClick(val) {
|
handleNodeClick(val) {
|
||||||
let path = [];
|
let path = [];
|
||||||
if (val?.points) {
|
if (val?.points?.length>0) {
|
||||||
path = val.points.map(e => [e.lng, e.lat])
|
path = val.points.map(e => [e.lng, e.lat])
|
||||||
this.renderGridMap([path])
|
this.renderGridMap([path])
|
||||||
|
}else{
|
||||||
|
this.$message.error("所选网格没有标绘!")
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
renderGridMap(paths) {
|
renderGridMap(paths) {
|
||||||
|
|||||||
Reference in New Issue
Block a user