From c5be90ef547831c6bce97393d82f3976659e0fd2 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Tue, 11 Mar 2025 15:54:19 +0800 Subject: [PATCH] fix: Setting avatar save prompt error(#2523) --- .../views/application-overview/component/EditAvatarDialog.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/views/application-overview/component/EditAvatarDialog.vue b/ui/src/views/application-overview/component/EditAvatarDialog.vue index 60220be3bff..cf8083735e2 100644 --- a/ui/src/views/application-overview/component/EditAvatarDialog.vue +++ b/ui/src/views/application-overview/component/EditAvatarDialog.vue @@ -121,7 +121,7 @@ function submit() { if (radioType.value === 'default') { application.asyncPutApplication(id as string, { icon: defaultIcon }, loading).then((res) => { emit('refresh') - MsgSuccess(t('views.applicationOverview.appInfo.EditAvatarDialog.setSuccess')) + MsgSuccess(t('common.saveSuccess')) dialogVisible.value = false }) } else if (radioType.value === 'custom' && iconFile.value) { @@ -129,7 +129,7 @@ function submit() { fd.append('file', iconFile.value.raw) overviewApi.putAppIcon(id as string, fd, loading).then((res: any) => { emit('refresh') - MsgSuccess(t('views.applicationOverview.appInfo.EditAvatarDialog.setSuccess')) + MsgSuccess(t('common.saveSuccess')) dialogVisible.value = false }) } else {