From d8ff5390f35d66790658d3b6940aa34343b06fca Mon Sep 17 00:00:00 2001 From: chenxt <10125295+chen-xintao97@user.noreply.gitee.com> Date: Wed, 24 Jun 2026 14:45:52 +0800 Subject: [PATCH] 按钮事件是否可编辑 --- src/mes/common/commonOperationBarComponent/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mes/common/commonOperationBarComponent/index.js b/src/mes/common/commonOperationBarComponent/index.js index 4d8be4c..b87f731 100644 --- a/src/mes/common/commonOperationBarComponent/index.js +++ b/src/mes/common/commonOperationBarComponent/index.js @@ -826,7 +826,9 @@ const useCommonOperationBarComponentEvent = props => { } } else { - if (["btnsave", "btnscanface"].includes(btnName)) { + + + if (["btnsave", "btnscanface"].includes(btnName) || btnName?.startsWith('btncalc')) { defaultProps.disabled = true; } if (!bSubmit) { -- libgit2 0.22.2