baiyanting před 1 rokem
rodič
revize
7ac10b4d72
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/components/Header.vue

+ 1 - 1
src/components/Header.vue

@@ -93,7 +93,7 @@ const collapse = computed(() => store.state.collapse);
 const handleCommand = (command) => {
 const handleCommand = (command) => {
   if (command == "loginout") {
   if (command == "loginout") {
     logout({
     logout({
-      token: getCookie("authToken"),
+      token: getCookie("accessToken"),
       userId: getCookie("userId"),
       userId: getCookie("userId"),
     }).then((res) => {
     }).then((res) => {
       store.commit("user/REMOVE_TOKEN");
       store.commit("user/REMOVE_TOKEN");