Pārlūkot izejas kodu

视角跳转修改

maxiaoxiao 4 mēneši atpakaļ
vecāks
revīzija
3dc57632bc
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;