From 72b77ddc7d25b8af3fdf47404e71aebd21d8e517 Mon Sep 17 00:00:00 2001 From: lai <371757574@qq.com> Date: Mon, 8 Jan 2024 16:52:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E7=BD=91=E5=85=83400=E6=97=B6=E5=BC=82=E5=B8=B8=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/locales/en-US.ts | 3 +++ src/i18n/locales/zh-CN.ts | 3 +++ src/views/configManage/neManage/index.vue | 4 ++-- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index f85a69e2..a3790876 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -570,6 +570,9 @@ export default { ims: { neType: 'IMS Object', }, + nssf:{ + neType: 'NSSF Object', + }, }, perfManage: { taskManage:{ diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index e9fb6f7f..2d27407f 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -570,6 +570,9 @@ export default { ims: { neType: 'IMS网元对象', }, + nssf:{ + neType: 'NSSF网元对象', + }, }, perfManage: { taskManage:{ diff --git a/src/views/configManage/neManage/index.vue b/src/views/configManage/neManage/index.vue index 2bdf0dd9..7e144849 100644 --- a/src/views/configManage/neManage/index.vue +++ b/src/views/configManage/neManage/index.vue @@ -352,7 +352,7 @@ function fnModalOk() { const hide = message.loading({ content: t('common.loading') }); result .then(res => { - if (res.code === RESULT_CODE_SUCCESS&&(typeof res.error === 'undefined')) { + if (res.code === RESULT_CODE_SUCCESS&&(typeof res.data.error === 'undefined')) { message.success({ content: t('common.msgSuccess', { msg: modalState.title }), duration: 3, @@ -362,7 +362,7 @@ function fnModalOk() { fnGetList(1); } else { message.error({ - content: `${res.msg}`, + content: `${t('views.configManage.configParam.addFail')}`, duration: 3, }); }