fix(web): render failed when entry bot details twice

This commit is contained in:
Acbox
2026-02-16 01:26:54 +08:00
parent 961ecbb96d
commit 05f4f08d9c
+3 -2
View File
@@ -614,6 +614,9 @@ async function fetchSingleCheck(id: string, key: string): Promise<BotCheck> {
return data
}
const isEditingBotName = ref(false)
const botNameDraft = ref('')
// Replace breadcrumb bot id with display name when available.
watch(bot, (val) => {
if (!val) return
@@ -641,8 +644,6 @@ watch(() => route.query.tab, (val) => {
activeTab.value = val as string
}
})
const isEditingBotName = ref(false)
const botNameDraft = ref('')
const avatarDialogOpen = ref(false)
const avatarUrlDraft = ref('')