bill 1 year ago
parent
commit
284faed449
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/view/map/coord.vue

+ 3 - 0
src/view/map/coord.vue

@@ -350,6 +350,9 @@ onBeforeUnmount(() => {
   board.polygon.bus.off("clickPoint", pointClickHandler);
   board.polygon.container.stage.off("click.checkPointSelect");
   board.polygon.status.lightPointId = null;
+
+  // treeRef.value.setCheckedNodes([]);
+  board.polygon.status.selectPoiIds = [];
 });
 </script>