|
@@ -844,8 +844,15 @@ function Detail(props) {
|
|
|
dispatch({
|
|
|
type: 'detail/submitNextNode',
|
|
|
payload: values,
|
|
|
- callback: () => {
|
|
|
+ callback: (newVersion) => {
|
|
|
setCommitAuditVisible(false);
|
|
|
+ // 更新version
|
|
|
+ localStorage.excelId = newVersion.id;
|
|
|
+ setVersion({
|
|
|
+ ...version,
|
|
|
+ flow_id: newVersion.flow_id,
|
|
|
+ id: newVersion.id,
|
|
|
+ });
|
|
|
// 更新flow流程图
|
|
|
dispatch({
|
|
|
type: 'xflow/queryBoomFlowDetail',
|