Browse Source

补充修改

baiyanting 1 năm trước cách đây
mục cha
commit
7ac10b4d72
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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");