From 175a80191ef0eeb8ab5793e2844903c16a6645ac Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud <79562285+wangdan-fit2cloud@users.noreply.github.com> Date: Tue, 11 Mar 2025 15:55:14 +0800 Subject: [PATCH] fix: Setting avatar save prompt error(#2523) (#2535) --- .../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 60220be3b..cf8083735 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 {