From 9d06793a0495ed9d29a636cb88b9d6e197a0dcc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Sat, 12 Oct 2024 15:32:42 +0800 Subject: [PATCH] =?UTF-8?q?custom/=E9=A2=86=E6=82=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/custom-pages/lingyue/vouncherSummary/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pc4mobx/hrmSalary/pages/custom-pages/lingyue/vouncherSummary/index.js b/pc4mobx/hrmSalary/pages/custom-pages/lingyue/vouncherSummary/index.js index 5ea76966..00c34eb9 100644 --- a/pc4mobx/hrmSalary/pages/custom-pages/lingyue/vouncherSummary/index.js +++ b/pc4mobx/hrmSalary/pages/custom-pages/lingyue/vouncherSummary/index.js @@ -143,7 +143,7 @@ class Index extends Component { API.pushUCAndSave(payload).then(({ status, data, errormsg }) => { this.setState({ loading: false }); if (status) { - message.success(data.errMsg); + data.status ? message.success(data.errMsg) : message.error(data.errMsg); this.setState({ visible: false }); setTimeout(() => window.close(), 1500); } else {