fix(高级搜索): 接口定义高级搜索请求类型选项中包含其它协议类型
--bug=1015179 --user=李玉号 【接口测试】接口定义-选择协议-api列表/回收站-api列表-高级搜索-请求类型包含其它协议类型 https://www.tapd.cn/55049933/s/1207885
This commit is contained in:
parent
437c8cb7e2
commit
3ac615a2cd
|
@ -569,6 +569,10 @@ export default {
|
|||
if (comp) {
|
||||
comp.options.params = {protocol: this.currentProtocol};
|
||||
}
|
||||
let method = this.condition.components.find(c => c.key === 'method');
|
||||
if (method) {
|
||||
method.options = getProtocolFilter(this.currentProtocol);
|
||||
}
|
||||
},
|
||||
getProtocolFilter() {
|
||||
this.methodFilters = getProtocolFilter(this.currentProtocol);
|
||||
|
|
Loading…
Reference in New Issue