浏览代码

清除图例

maxiaoxiao 7 月之前
父节点
当前提交
1f2eed6e7c
共有 1 个文件被更改,包括 1 次插入0 次删除
  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) => {