|
@@ -45,7 +45,7 @@ function AuditFlow(props) {
|
|
|
} else {
|
|
|
return flow.workflowActivityRules.findIndex(item => item.activityId == activityId);
|
|
|
}
|
|
|
- }, [activityId]);
|
|
|
+ }, [activityId, flow]);
|
|
|
|
|
|
const renderDesc = item => {
|
|
|
return <></>;
|
|
@@ -74,7 +74,6 @@ function AuditFlow(props) {
|
|
|
};
|
|
|
|
|
|
const getDetail = async () => {
|
|
|
- console.log(timerRef.current);
|
|
|
if (!timerRef.current.status) {
|
|
|
// 上锁
|
|
|
timerRef.current.status = true;
|
|
@@ -85,7 +84,6 @@ function AuditFlow(props) {
|
|
|
userId,
|
|
|
formComponentValues,
|
|
|
});
|
|
|
- console.log(flow);
|
|
|
setFlow(flow);
|
|
|
} catch (error) {}
|
|
|
setTimeout(() => {
|