From b8440d9a6b1671cdf0c8f06cdaba2f80a8dac1e6 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Wed, 13 Nov 2024 14:17:15 +0800
Subject: [PATCH] 退出图标按钮修复
---
src/api/user.js | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/api/user.js b/src/api/user.js
index 69c7ebd..c96cec6 100644
--- a/src/api/user.js
+++ b/src/api/user.js
@@ -19,4 +19,11 @@
scope: 'all',
type,
},
+ })
+
+export const logout = () =>
+ request({
+ url: '/blade-auth/oauth/logout',
+ method: 'get',
+ authorization: false,
})
\ No newline at end of file
--
Gitblit v1.9.3