diff --git a/src/components/capture/Capture.vue b/src/components/capture/Capture.vue
index 7d593fe9..ad12b965 100644
--- a/src/components/capture/Capture.vue
+++ b/src/components/capture/Capture.vue
@@ -160,7 +160,7 @@ const submitAnswer = () => {
diff --git a/src/components/top-bar/KUNGalgameUserInfo.vue b/src/components/top-bar/KUNGalgameUserInfo.vue
index ad9ac7ad..5fc6d2c0 100644
--- a/src/components/top-bar/KUNGalgameUserInfo.vue
+++ b/src/components/top-bar/KUNGalgameUserInfo.vue
@@ -2,6 +2,22 @@
import { onMounted, ref } from 'vue'
const container = ref()
+const emit = defineEmits({
+ close,
+})
+
+// 失去焦点时关闭面板
+const handlePanelBlur = async () => {
+ // 等待一段时间,不然会直接导致面板关闭
+ await new Promise((resolve) => {
+ setTimeout(resolve, 107)
+ })
+ emit('close')
+}
+
+// 退出登录
+const logOut = () => {}
+
onMounted(() => {
// 自动获取焦点
container.value?.focus()
@@ -9,7 +25,7 @@ onMounted(() => {
-