fix(接口测试): 修复添加接口用例会弹出两个相同提示语的缺陷

--bug=1009692 --user=王孝刚 【接口测试】github#9304,添加接口用例会弹出两个相同提示语
https://www.tapd.cn/55049933/s/1093230
This commit is contained in:
wxg0103 2022-01-18 11:22:45 +08:00 committed by jianxing
parent 7a754d9a71
commit eff26d0d5d
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
<el-input v-if="!apiCase.id || isShowInput" size="small" v-model="apiCase.name" :name="index" :key="index"
class="ms-api-header-select" style="width: 180px"
:readonly="!hasPermission('PROJECT_API_DEFINITION:READ+EDIT_CASE')"
@blur="saveTestCase(apiCase , true)" :placeholder="$t('commons.input_name')" ref="nameEdit"/>
:placeholder="$t('commons.input_name')" ref="nameEdit"/>
<span v-else>
<el-tooltip :content="apiCase.id ? apiCase.name : ''" placement="top">
<span>{{ apiCase.id ? apiCase.name : '' | ellipsis }}</span>