@@ -102,6 +102,9 @@ export default defineComponent({
this.localSave();
};
},
+ unmounted() {
+ this.save();
+ },
methods: {
localSave() {
window.localStorage.setItem("activeState", JSON.stringify(this.$store.getters.getJSONState));