|
@@ -230,6 +230,12 @@ export default {
|
|
go(item) {
|
|
go(item) {
|
|
if (!item.geom) {
|
|
if (!item.geom) {
|
|
this.$message.warning("缺少定位图斑");
|
|
this.$message.warning("缺少定位图斑");
|
|
|
|
+ }else{
|
|
|
|
+ if(this.cockpit_vector.mapType) {
|
|
|
|
+ this.setLayerStatus(item)
|
|
|
|
+ }
|
|
|
|
+ else
|
|
|
|
+ this.addpolygon(item)
|
|
}
|
|
}
|
|
store.setVectordataid(item.dataid)
|
|
store.setVectordataid(item.dataid)
|
|
let arr = [];
|
|
let arr = [];
|