diff --git a/src/api/login/index.ts b/src/api/login/index.ts
index 7d7d407..3604508 100644
--- a/src/api/login/index.ts
+++ b/src/api/login/index.ts
@@ -36,6 +36,11 @@ export const loginOut = () => {
return request.post({ url: '/system/auth/logout' })
}
+// 强制登出
+export const refreshLogout = (data: any) => {
+ return request.post({ url: '/system/auth/refreshLogout', data })
+}
+
// 获取用户权限信息
export const getInfo = () => {
return request.get({ url: '/system/auth/get-permission-info' })
diff --git a/src/views/Login/components/LoginForm.vue b/src/views/Login/components/LoginForm.vue
index f69681e..4af1aa1 100644
--- a/src/views/Login/components/LoginForm.vue
+++ b/src/views/Login/components/LoginForm.vue
@@ -149,6 +149,39 @@
+
+ 是否使用管理员密码强制退出该用户
+
+
+
+
+
+ 管理员密码:
+
+
+
+
+