Browse Source

卷帘对比

maxiaoxiao 5 tháng trước cách đây
mục cha
commit
87a86e07ff
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/views/LandConsolidation/components/contrast.vue

+ 2 - 2
src/views/LandConsolidation/components/contrast.vue

@@ -81,7 +81,7 @@ export default {
   components: { AsideBottom },
   mounted() {
     this.$nextTick(() => {
-      initroller(false);
+      initroller();
     });
   },
   methods: {
@@ -122,7 +122,7 @@ export default {
         await this.Getlayers();
         this.nolayer = this.layersData[1].year;
         this.setImager(this.layersData[1], true, (layer) => {
-          useRoller(true, "lrRoller", "leftRoller");
+          useRoller(true, "lrRoller", "leftRoller", "", false);
           // setImageryRoller(layer);
           layer.splitDirection = new Cesium.Cartesian2(
             Cesium.ImagerySplitDirection.RIGHT,