增加 新增网元400时异常处理

This commit is contained in:
lai
2024-01-08 16:52:47 +08:00
parent 5883f040e7
commit 72b77ddc7d
3 changed files with 8 additions and 2 deletions

View File

@@ -570,6 +570,9 @@ export default {
ims: {
neType: 'IMS Object',
},
nssf:{
neType: 'NSSF Object',
},
},
perfManage: {
taskManage:{

View File

@@ -570,6 +570,9 @@ export default {
ims: {
neType: 'IMS网元对象',
},
nssf:{
neType: 'NSSF网元对象',
},
},
perfManage: {
taskManage:{

View File

@@ -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,
});
}