Skip to content

Commit 60691df

Browse files
committed
bpmnjs流程图 流转条件切换问题
1 parent 2d3227c commit 60691df

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/bpmnProcessDesigner/package/penal/flow-condition/FlowCondition.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ const resetFlowCondition = () => {
7979
if (
8080
bpmnElementSourceRef.value &&
8181
bpmnElementSourceRef.value.default &&
82-
bpmnElementSourceRef.value.default.id === bpmnElement.value.id
82+
bpmnElementSourceRef.value.default.id === bpmnElement.value.id &&
83+
flowConditionForm.value.type == 'default'
8384
) {
8485
// 默认
8586
flowConditionForm.value = { type: 'default' }

0 commit comments

Comments
 (0)