Browse Source

节流阀

xujunjie 1 năm trước cách đây
mục cha
commit
dbcc658bc2
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/pages/Detail/CommitAuditModal.js

+ 1 - 0
src/pages/Detail/CommitAuditModal.js

@@ -646,6 +646,7 @@ function CommitAuditModal(props) {
   // };
 
   const onFinish = async () => {
+    if(loading) return;
     const isOk = Object.values(approvalProcess).every(item => {
       return item.every(cur => {
         if (cur[0].type == 'role') return cur[0].nowValue;