Commit 35f62cd83a576f3270d1e3a2de27fbce2ba0b8f4
1 parent
7023df59
只有新增的默认修改
Showing
1 changed file
with
1 additions
and
1 deletions
src/mes/common/commonOperationBarComponent/index.js
| ... | ... | @@ -740,7 +740,7 @@ const useCommonOperationBarComponentEvent = props => { |
| 740 | 740 | |
| 741 | 741 | const btnName = sControlName.replace('BtnLeft.', '').replace('BtnRight.', '').toLowerCase(); |
| 742 | 742 | let enabled = props.enabled |
| 743 | - if (props.enabled === undefined) { | |
| 743 | + if (props.enabled === undefined && !props?.parentProps?.record) { | |
| 744 | 744 | enabled = true |
| 745 | 745 | } |
| 746 | 746 | if (enabled) { | ... | ... |