refactor(接口测试): 接口测试dubbo接口下拉框增加过滤功能

--bug=1010040 --user=刘瑞斌 【接口测试】github#10048,/api/dubbo/providers接口超级慢耗时4.5分钟且加载出结果后没有搜索功能 https://www.tapd.cn/55049933/s/1102026

Closes #10048
This commit is contained in:
CaptainB 2022-02-08 18:50:24 +08:00 committed by 刘瑞斌
parent a0ede24a36
commit 9e905cbd25
2 changed files with 16 additions and 14 deletions

View File

@ -5,7 +5,8 @@
<el-row>
<el-col :span="12">
<el-form-item label="Interfaces" prop="interfaces">
<el-select v-model="serviceInterface" class="select-100" @change="changeInterface" :disabled="isDisable">
<el-select filterable v-model="serviceInterface" class="select-100" @change="changeInterface"
:disabled="isDisable">
<el-option v-for="i in interfaces" :key="i.value" :label="i.label" :value="i.value"/>
</el-select>
</el-form-item>

View File

@ -5,7 +5,8 @@
<el-row>
<el-col :span="12">
<el-form-item label="Interfaces" prop="interfaces">
<el-select v-model="serviceInterface" class="select-100" @change="changeInterface" :disabled="isDisable">
<el-select filterable v-model="serviceInterface" class="select-100" @change="changeInterface"
:disabled="isDisable">
<el-option v-for="i in interfaces" :key="i.value" :label="i.label" :value="i.value"/>
</el-select>
</el-form-item>
@ -37,19 +38,19 @@
</template>
<script>
import {DubboRequest, RegistryCenter} from "@/business/components/api/test/model/ScenarioModel";
import {DubboRequest, RegistryCenter} from "@/business/components/api/test/model/ScenarioModel";
export default {
name: "MsDubboInterface",
props: {
request: DubboRequest,
registryCenter: RegistryCenter,
isReadOnly: {
type: Boolean,
default: false
}
},
data() {
export default {
name: "MsDubboInterface",
props: {
request: DubboRequest,
registryCenter: RegistryCenter,
isReadOnly: {
type: Boolean,
default: false
}
},
data() {
return {
loading: false,
providerMap: {},