소스 검색

fix(流程提交): 调整协同流程参数判断逻辑,支持空值或'1'时填充流程信息

yusheng 7 달 전
부모
커밋
b8e80b1cf1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/BIZComponents/processSubmitDialog/processSubmitDialog.vue

+ 1 - 1
src/BIZComponents/processSubmitDialog/processSubmitDialog.vue

@@ -730,7 +730,7 @@ this.postOptions.push(...response.data);
         parameterGetByCode({
           code: 'wt_collaborative_bpm'
         }).then((res) => {
-          if (res.value != '0') {
+          if (!res.value||res.value=='1') {
             this.form.FQLC = info?.id;
             this.form.name = this.title;
             this.form.key = info?.key;