From fe008e055f8a88671432a8a5cab49ac3de01ba75 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Thu, 3 Jul 2025 19:06:52 +0800 Subject: [PATCH] refactor: update avatar dialog submission logic to remove hardcoded icon path --- ui/src/views/tool/component/EditAvatarDialog.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/views/tool/component/EditAvatarDialog.vue b/ui/src/views/tool/component/EditAvatarDialog.vue index a6be04fcd..dd3bf8032 100644 --- a/ui/src/views/tool/component/EditAvatarDialog.vue +++ b/ui/src/views/tool/component/EditAvatarDialog.vue @@ -101,7 +101,7 @@ const onChange = (file: any) => { function submit() { if (radioType.value === 'default') { - emit('refresh', '/${window.MaxKB.prefix}/favicon.ico') + emit('refresh', '') dialogVisible.value = false } else if (radioType.value === 'custom' && iconFile.value) { const fd = new FormData()