fix(接口测试): 【接口测试】github#27584,接口自定义脚本,点击编辑名称后,自动跳到脚本编辑框,不能编辑脚本名称
--bug=1032967 --user=白奇 【接口测试】github#27584,接口自定义脚本,点击编辑名称后,自动跳到脚本编辑框,不能编辑脚本名称 https://www.tapd.cn/55049933/s/1437268
This commit is contained in:
parent
6a0a21f98d
commit
9273f459dd
|
@ -21,16 +21,14 @@
|
||||||
<i
|
<i
|
||||||
class="icon el-icon-arrow-right"
|
class="icon el-icon-arrow-right"
|
||||||
:class="{ 'is-active': data.active }"
|
:class="{ 'is-active': data.active }"
|
||||||
@click="active(data)"
|
@click.stop="active(data)"
|
||||||
v-if="data.type != 'scenario' && !isMax"
|
v-if="data.type != 'scenario' && !isMax" />
|
||||||
@click.stop />
|
|
||||||
<span @click.stop v-if="isShowInput && isShowNameInput">
|
<span @click.stop v-if="isShowInput && isShowNameInput">
|
||||||
<el-input
|
<el-input
|
||||||
draggable="disabled"
|
draggable="disabled"
|
||||||
size="mini"
|
size="mini"
|
||||||
v-model="data.name"
|
v-model="data.name"
|
||||||
class="name-input"
|
class="name-input"
|
||||||
@focus="active(data)"
|
|
||||||
@blur="isShowInput = false"
|
@blur="isShowInput = false"
|
||||||
:placeholder="$t('commons.input_name')"
|
:placeholder="$t('commons.input_name')"
|
||||||
ref="nameEdit"
|
ref="nameEdit"
|
||||||
|
@ -46,7 +44,7 @@
|
||||||
<i
|
<i
|
||||||
class="el-icon-edit"
|
class="el-icon-edit"
|
||||||
style="cursor: pointer"
|
style="cursor: pointer"
|
||||||
@click="editName"
|
@click.stop="editName"
|
||||||
v-show="data.referenced != 'REF' && !data.disabled" />
|
v-show="data.referenced != 'REF' && !data.disabled" />
|
||||||
<span>{{ data.name }}</span>
|
<span>{{ data.name }}</span>
|
||||||
<el-tag size="mini" v-if="data.method && !data.pluginId" style="margin-left: 1rem">{{
|
<el-tag size="mini" v-if="data.method && !data.pluginId" style="margin-left: 1rem">{{
|
||||||
|
|
Loading…
Reference in New Issue