Skip to content

Commit

Permalink
公共步骤的场景下,屏蔽掉新增的两个入口类型
Browse files Browse the repository at this point in the history
  • Loading branch information
caofengbin committed Sep 4, 2023
1 parent 1dc13ba commit 9798895
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/StepDraggable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ const remove = (e) => {

<!--添加操作的按钮-->
<el-popconfirm
v-if="s.parentId === 0"
v-if="s.parentId === 0 && !isEdit"
style="margin-left: 10px"
:confirm-button-text="$t('steps.addToNextLine')"
:cancel-button-text="$t('steps.addToBeforeLine')"
Expand All @@ -304,6 +304,7 @@ const remove = (e) => {

<!--复制操作的按钮-->
<el-popconfirm
v-if="!isEdit"
style="margin-left: 10px"
:confirm-button-text="$t('steps.copyToLastLine')"
:cancel-button-text="$t('steps.copyToNextLine')"
Expand Down

0 comments on commit 9798895

Please sign in to comment.