From 0a003d375069814a39e63b8fdfe5f328d45b020b Mon Sep 17 00:00:00 2001 From: QuentinHsu Date: Fri, 10 Nov 2023 23:07:16 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=BC=B9=E7=AA=97=E6=93=8D=E4=BD=9C?= =?UTF-8?q?=E7=9A=84=20successMsg=20=E5=8F=82=E6=95=B0=20(#2892)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/container/container/index.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/views/container/container/index.vue b/frontend/src/views/container/container/index.vue index 49336246d..77f5f38a8 100644 --- a/frontend/src/views/container/container/index.vue +++ b/frontend/src/views/container/container/index.vue @@ -567,12 +567,14 @@ const onOperate = async (op: string, row: Container.ContainerInfo | null) => { msg = i18n.global.t('container.operatorAppHelper', [i18n.global.t('container.' + op)]); } } + const successMsg = `${i18n.global.t('container.' + op)}${i18n.global.t('commons.status.success')}`; opRef.value.acceptParams({ title: i18n.global.t('container.' + op), names: names, msg: msg, api: containerOperator, params: { names: names, operation: op }, + successMsg, }); };