Jelajahi Sumber

修改接口

lxr 5 hari lalu
induk
melakukan
fa9bacb7ce
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/api/modules/login.ts

+ 1 - 1
src/api/modules/login.ts

@@ -41,5 +41,5 @@ export const getAuthButtonListApi = () => {
 
 // 用户退出登录
 export const logoutApi = () => {
-  return http.post(PORT_NONE + `/sys/logout`);
+  return http.post(`/sys/logout`);
 };