File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
src/components/SimpleProcessDesignerV2/src Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -97,8 +97,6 @@ defineOptions({
97
97
name: ' NodeHandler'
98
98
})
99
99
100
- const message = useMessage () // 消息弹窗
101
-
102
100
const popoverShow = ref (false )
103
101
const props = defineProps ({
104
102
childNode: {
@@ -115,17 +113,6 @@ const emits = defineEmits(['update:childNode'])
115
113
const readonly = inject <Boolean >(' readonly' ) // 是否只读
116
114
117
115
const addNode = (type : number ) => {
118
- // 校验:条件分支、包容分支后面,不允许直接添加并行分支
119
- if (
120
- type === NodeType .PARALLEL_BRANCH_NODE &&
121
- [NodeType .CONDITION_BRANCH_NODE , NodeType .INCLUSIVE_BRANCH_NODE ].includes (
122
- props .currentNode ?.type
123
- )
124
- ) {
125
- message .error (' 条件分支、包容分支后面,不允许直接添加并行分支' )
126
- return
127
- }
128
-
129
116
popoverShow .value = false
130
117
if (type === NodeType .USER_TASK_NODE || type === NodeType .TRANSACTOR_NODE ) {
131
118
const id = ' Activity_' + generateUUID ()
You can’t perform that action at this time.
0 commit comments