fix:修复修改没传流程id的问题

feature1.0
吴延福 2023-07-04 11:20:17 +08:00
parent 50a660e1a1
commit a2a366d1e6
1 changed files with 1 additions and 1 deletions

View File

@ -633,7 +633,7 @@ export default class HiddenDangerClapComponent extends BaseRecordComponent<any>
this.tableService.addOrUpdate(this.updateParams,!this.updateParams.id).then(res=>{
this.$message.success(!this.updateParams.id?"新增成功!":"编辑成功");
if(isSubmit){
this.startWorkFlow([res.data],[this.updateParams.reformUserId])
this.startWorkFlow([this.updateParams.id || res.data],[this.updateParams.reformUserId])
}else{
this.getTableData();
}