fix(接口测试): 【接口测试】github#27584,接口自定义脚本,点击编辑名称后,自动跳到脚本编辑框,不能编辑脚本名称

--bug=1032967 --user=白奇 【接口测试】github#27584,接口自定义脚本,点击编辑名称后,自动跳到脚本编辑框,不能编辑脚本名称 https://www.tapd.cn/55049933/s/1437268
This commit is contained in:
baiqi 2023-11-16 14:06:55 +08:00 committed by 刘瑞斌
parent 6a0a21f98d
commit 9273f459dd
1 changed files with 3 additions and 5 deletions

View File

@ -21,16 +21,14 @@
<i
class="icon el-icon-arrow-right"
:class="{ 'is-active': data.active }"
@click="active(data)"
v-if="data.type != 'scenario' && !isMax"
@click.stop />
@click.stop="active(data)"
v-if="data.type != 'scenario' && !isMax" />
<span @click.stop v-if="isShowInput && isShowNameInput">
<el-input
draggable="disabled"
size="mini"
v-model="data.name"
class="name-input"
@focus="active(data)"
@blur="isShowInput = false"
:placeholder="$t('commons.input_name')"
ref="nameEdit"
@ -46,7 +44,7 @@
<i
class="el-icon-edit"
style="cursor: pointer"
@click="editName"
@click.stop="editName"
v-show="data.referenced != 'REF' && !data.disabled" />
<span>{{ data.name }}</span>
<el-tag size="mini" v-if="data.method && !data.pluginId" style="margin-left: 1rem">{{