Explorar el Código

退出后清楚标签页缓存

lxf hace 1 año
padre
commit
dceb680cbf
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/components/headerBar/header-bar.vue

+ 1 - 0
src/components/headerBar/header-bar.vue

@@ -262,6 +262,7 @@ function logout() {
     .then(() => {
       userStore.logOut().then(() => {
         location.href = "/index";
+        sessionStorage.removeItem("tags-view_sd");
       });
     })
     .catch(() => {});