Explorar o código

视角跳转修改

maxiaoxiao hai 4 meses
pai
achega
3dc57632bc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/farmlandProtection/gdzl/index.vue

+ 1 - 1
src/views/farmlandProtection/gdzl/index.vue

@@ -323,7 +323,7 @@ export default {
       }
       if (obj.top) viewer.imageryLayers.raiseToTop(this.imagelayers[lkey]);
       fun && fun(this.imagelayers[lkey]);
-      if (this.imagelayers[lkey]) viewer.flyTo(this.imagelayers[lkey]);
+      if (isshow && this.imagelayers[lkey]) viewer.flyTo(this.imagelayers[lkey]);
     },
     async regionChange(region) {
       // this.region = region;