baiyanting 1 год назад
Родитель
Сommit
7ac10b4d72
1 измененных файлов с 1 добавлено и 1 удалено
  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) => {
   if (command == "loginout") {
     logout({
-      token: getCookie("authToken"),
+      token: getCookie("accessToken"),
       userId: getCookie("userId"),
     }).then((res) => {
       store.commit("user/REMOVE_TOKEN");