lyflowchart 1.0.56 → 1.0.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -34621,8 +34621,13 @@ const Tn = {
|
|
|
34621
34621
|
value: j
|
|
34622
34622
|
};
|
|
34623
34623
|
}, b = () => {
|
|
34624
|
-
|
|
34625
|
-
|
|
34624
|
+
var I, D;
|
|
34625
|
+
if ((o == null ? void 0 : o.$type) != "bpmn:SequenceFlow") {
|
|
34626
|
+
console.log("常规信息:该节点不是“顺序流”,跳过不处理表达式");
|
|
34627
|
+
return;
|
|
34628
|
+
}
|
|
34629
|
+
if ((o == null ? void 0 : o.$type) == "bpmn:SequenceFlow") {
|
|
34630
|
+
o.body = ((D = (I = n.element.businessObject) == null ? void 0 : I.conditionExpression) == null ? void 0 : D.body) || "", o.name == "通过" || o.body.indexOf("通过") > -1 ? r.value = "通过" : o.name == "拒绝" || o.body.indexOf("拒绝") > -1 ? r.value = "拒绝" : r.value = "其他", t("updateFlowType", r.value);
|
|
34626
34631
|
return;
|
|
34627
34632
|
}
|
|
34628
34633
|
const w = o.body, C = y(w);
|