添加网元异常时判断

This commit is contained in:
lai committed 2024-01-03 19:25:50 +08:00
1 parent 7741a35048
commit 91926a70db
1 file changed
+1 -1
+1 -1
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) {
if (res.code === RESULT_CODE_SUCCESS&&(typeof res.error === 'undefined')) {
message.success({
content: t('common.msgSuccess', { msg: modalState.title }),
duration: 3,