lrf402788946 4 lat temu
rodzic
commit
91ef1719df
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      src/store/user/mutations.js

+ 2 - 0
src/store/user/mutations.js

@@ -18,4 +18,6 @@ export const setUser = (state, payload) => {
 export const deleteUser = (state, payload) => {
   state.user = {};
   sessionStorage.removeItem('user');
+  sessionStorage.removeItem('defaultOption');
+  sessionStorage.removeItem('userMenu');
 };