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({
9797 name: ' NodeHandler'
9898})
9999
100- const message = useMessage () // 消息弹窗
101-
102100const popoverShow = ref (false )
103101const props = defineProps ({
104102 childNode: {
@@ -115,17 +113,6 @@ const emits = defineEmits(['update:childNode'])
115113const readonly = inject <Boolean >(' readonly' ) // 是否只读
116114
117115const 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-
129116 popoverShow .value = false
130117 if (type === NodeType .USER_TASK_NODE || type === NodeType .TRANSACTOR_NODE ) {
131118 const id = ' Activity_' + generateUUID ()
You can’t perform that action at this time.
0 commit comments