|
@@ -399,7 +399,8 @@ export default {
|
|
this.map.clearInfoWindow();
|
|
this.map.clearInfoWindow();
|
|
});
|
|
});
|
|
marker.on("click", async () => {
|
|
marker.on("click", async () => {
|
|
- localStorage.clear();
|
|
|
|
|
|
+ // localStorage.clear();
|
|
|
|
+ localStorage.removeItem("Overview")
|
|
this.$router.push({ path: "/Overview" });
|
|
this.$router.push({ path: "/Overview" });
|
|
this.$store.commit("increment", val.id);
|
|
this.$store.commit("increment", val.id);
|
|
localStorage.setItem("Overview", [val.id, val.siteName]);
|
|
localStorage.setItem("Overview", [val.id, val.siteName]);
|