Quellcode durchsuchen

fix(流程提交): 修正协同流程参数值比较逻辑,将数字0改为字符串'0

yusheng vor 7 Monaten
Ursprung
Commit
f5780b68f3
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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 != '0') {
             this.form.FQLC = info?.id;
             this.form.name = this.title;
             this.form.key = info?.key;