Commit 21d130422b726da5f60c71ba5c51ceea24f42a0a
1 parent
c21d2eb3
处理按钮判断是否走mes出错的问题
Showing
1 changed file
with
2 additions
and
2 deletions
src/mes/common/commonOperationBarComponent/index.js
| ... | ... | @@ -93,10 +93,10 @@ const useCommonOperationBarComponentEvent = props => { |
| 93 | 93 | const delayedOvertime = commonFunc.showLocalMessage(props, 'delayedOvertime', '延迟加班'); |
| 94 | 94 | const cancelDelayedOvertime = commonFunc.showLocalMessage(props, 'cancelDelayedOvertime', '取消延迟加班'); |
| 95 | 95 | // 走工具栏功能逻辑 |
| 96 | - if (MesToolbar({ ...props, btnConfig: config })) { | |
| 96 | + if (await MesToolbar({ ...props, btnConfig: config })) { | |
| 97 | 97 | return; |
| 98 | 98 | } |
| 99 | - | |
| 99 | + | |
| 100 | 100 | // 自定义按钮事件 |
| 101 | 101 | if ( |
| 102 | 102 | costomPageFun({ | ... | ... |