|
@@ -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;
|