Browse Source

清除图例

maxiaoxiao 7 months ago
parent
commit
1f2eed6e7c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/views/farmlandProtection/gdzl/index.vue

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

@@ -496,6 +496,7 @@ export default {
       this.setImager({ year: this.nowlayer }, show);
     },
     reset() {
+      store.setaddNode([]);
       this.$nextTick(() => {
         // this.sourcesshow(false);
         Object.keys(this.imagelayers).forEach((key) => {