fix(接口测试): 修复参数页面设置丢失问题
【【接口测试】接口定义-API-查看接口-用例-创建用例请求体选form-data格式,修改表头设置后该设置功能消失了】https://www.tapd.cn/55049933/bugtrace/bugs/view?bug_id=1155049933001037545
This commit is contained in:
parent
197d215ee5
commit
1c6d4a64aa
|
@ -698,11 +698,7 @@
|
|||
if (isHttpProtocol.value) {
|
||||
if (props.isCase) {
|
||||
// 定义没有参数BODY/QUERY/REST的,用例对应tab不显示
|
||||
return httpContentTabList.filter(
|
||||
(e) =>
|
||||
!(!restNumApi.value && e.value === RequestComposition.REST) &&
|
||||
!(!queryNumApi.value && e.value === RequestComposition.QUERY)
|
||||
);
|
||||
return httpContentTabList;
|
||||
}
|
||||
if (props.isDefinition) {
|
||||
// 接口定义,定义模式隐藏前后置、断言
|
||||
|
|
Loading…
Reference in New Issue