From 14cf7a688872675fab8967bc69f4b2c52b1322ff Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 10 十月 2024 16:25:04 +0800
Subject: [PATCH] #
---
zy-acs-flow/src/page/task/TaskList.jsx | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/zy-acs-flow/src/page/task/TaskList.jsx b/zy-acs-flow/src/page/task/TaskList.jsx
index a72bf79..5ec10b1 100644
--- a/zy-acs-flow/src/page/task/TaskList.jsx
+++ b/zy-acs-flow/src/page/task/TaskList.jsx
@@ -170,6 +170,8 @@
} else {
notify(msg || 'common.response.fail', { type: 'error', messageArgs: { _: msg } });
}
+ }).catch(error => {
+ notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
})
}
@@ -182,6 +184,8 @@
} else {
notify(msg || 'common.response.fail', { type: 'error', messageArgs: { _: msg } });
}
+ }).catch(error => {
+ notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
})
}
--
Gitblit v1.9.1