소스 검색

补充修改

baiyanting 1 년 전
부모
커밋
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");