refactor(接口测试): 下拉列表组件中增加输入筛选功能

This commit is contained in:
fit2-zhao 2020-10-13 16:10:18 +08:00
parent 9118cb3404
commit 7cd3234ac2
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
<el-input :disabled="isReadOnly" class="test-name" v-model="test.name" maxlength="60"
:placeholder="$t('api_test.input_name')"
show-word-limit>
<el-select :disabled="isReadOnly" class="test-project" v-model="test.projectId" slot="prepend"
<el-select filterable class="test-project" v-model="test.projectId" slot="prepend"
:placeholder="$t('api_test.select_project')">
<el-option v-for="project in projects" :key="project.id" :label="project.name" :value="project.id"/>
</el-select>