fix(测试跟踪): 测试计划关联UI和性能用例页面,搜索框没有修改内容,也会刷新页面

--bug=1032917 --user=陈建星 【测试跟踪】测试计划-关联UI测试用例/性能测试用例-搜索用例后-关联测试用例处首次任何操作都无效-需二次操作 https://www.tapd.cn/55049933/s/1436778
This commit is contained in:
AgAngle 2023-11-15 15:33:18 +08:00 committed by 刘瑞斌
parent c5ebe440e8
commit cc5bbbe3e2
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
v-if="condition.components !== undefined && condition.components.length > 0" v-if="condition.components !== undefined && condition.components.length > 0"
@search="search"/> @search="search"/>
<el-input :placeholder="$t('api_test.definition.request.select_case')" @blur="search" <el-input :placeholder="$t('api_test.definition.request.select_case')" @change="search"
@keyup.enter.native="search" class="search-input" size="small" v-model="condition.name"/> @keyup.enter.native="search" class="search-input" size="small" v-model="condition.name"/>
<mx-version-select v-xpack :project-id="projectId" @changeVersion="changeVersion" style="float: left;" <mx-version-select v-xpack :project-id="projectId" @changeVersion="changeVersion" style="float: left;"

View File

@ -4,7 +4,7 @@
v-if="condition.components !== undefined && condition.components.length > 0" v-if="condition.components !== undefined && condition.components.length > 0"
@search="filterSearch"/> @search="filterSearch"/>
<el-input :placeholder="$t('api_test.definition.request.select_case')" @blur="filterSearch" <el-input :placeholder="$t('api_test.definition.request.select_case')" @change="filterSearch"
@keyup.enter.native="filterSearch" class="search-input" size="small" v-model="condition.name"/> @keyup.enter.native="filterSearch" class="search-input" size="small" v-model="condition.name"/>
<ms-table ref="scenarioTable" <ms-table ref="scenarioTable"