Browse Source

视角跳转修改

maxiaoxiao 4 tháng trước cách đây
mục cha
commit
3dc57632bc
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;