xujunjie 1 år sedan
förälder
incheckning
dbcc658bc2
1 ändrade filer med 1 tillägg och 0 borttagningar
  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 () => {
   const onFinish = async () => {
+    if(loading) return;
     const isOk = Object.values(approvalProcess).every(item => {
     const isOk = Object.values(approvalProcess).every(item => {
       return item.every(cur => {
       return item.every(cur => {
         if (cur[0].type == 'role') return cur[0].nowValue;
         if (cur[0].type == 'role') return cur[0].nowValue;