From cb3bddbd2b45d54eb5d156fa8dd5f8a684bc715b Mon Sep 17 00:00:00 2001 From: lys <971387674@qq.com> Date: Tue, 13 May 2025 17:50:50 +0800 Subject: [PATCH] =?UTF-8?q?custom-=E8=81=94=E7=89=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pc4mobx/hrmSalary/pages/custom-pages/liante/cbsDetail/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pc4mobx/hrmSalary/pages/custom-pages/liante/cbsDetail/index.js b/pc4mobx/hrmSalary/pages/custom-pages/liante/cbsDetail/index.js index c9e83b88..763e00ea 100644 --- a/pc4mobx/hrmSalary/pages/custom-pages/liante/cbsDetail/index.js +++ b/pc4mobx/hrmSalary/pages/custom-pages/liante/cbsDetail/index.js @@ -42,7 +42,7 @@ class Index extends Component { } pushDataToCBS = (ids, isConfirm, key = "") => { - const payload = !!key ? { salaryCbsld: ids, isConfirm } : { ids, isConfirm }; + const payload = !!key ? { [key]: ids, isConfirm } : { ids, isConfirm }; const { isQuery } = this.state; WeaLoadingGlobal.start(); API.pushDataToCBS(payload).then(({ status, data, errormsg }) => {