maxiaoxiao 7 months ago
parent
commit
7972a6f769
1 changed files with 5 additions and 4 deletions
  1. 5 4
      src/views/LandConsolidation/components/contrast.vue

+ 5 - 4
src/views/LandConsolidation/components/contrast.vue

@@ -216,11 +216,12 @@ export default {
         });
       }
       if (i == 0) {
+        
         this.layers = [false, false];
         this.gdjlcheck[0].push(this.dbdata.fp[0].year);
         this.gdjlcheck[1].push(this.dbdata.fp[1].year);
         this.setImager({ ...this.dbdata.fp[0], top: true }, true);
-        this.setImager({ ...this.dbdata.fp[1], top: true }, true, (layer) => {
+        this.setImager({ ...this.dbdata.fp[1], top: false }, true, (layer) => {
           useRoller(true, "lrRoller", "leftRoller", "", false);
           setImageryRoller(layer);
         });
@@ -385,9 +386,9 @@ export default {
       if (oldVal) this.setImager({ year: oldVal }, false);
     },
   },
-  beforeDestroy(){
-    this.closeInster()
-  }
+  beforeDestroy() {
+    this.closeInster();
+  },
 };
 </script>
 <style lang="scss" scoped>