mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 03:58:33 +08:00
fix(接口定义): 修复报告重置触发方式页面报错的缺陷
--bug=1017364 --user=王孝刚 【接口测试】接口报告 - 用例报告,重置触发方式下拉筛选框,页面会报错 https://www.tapd.cn/55049933/s/1252659
This commit is contained in:
parent
0dd4047307
commit
8f35b3faf0
@ -549,7 +549,7 @@ public class ApiDefinitionExecResultService {
|
||||
|
||||
private void initReportRequest(QueryAPIReportRequest request) {
|
||||
if (request != null) {
|
||||
if (MapUtils.isNotEmpty(request.getFilters()) && request.getFilters().containsKey("trigger_mode")) {
|
||||
if (MapUtils.isNotEmpty(request.getFilters()) && request.getFilters().containsKey("trigger_mode") && CollectionUtils.isNotEmpty(request.getFilters().get("trigger_mode"))) {
|
||||
boolean filterHasApi = false;
|
||||
for (String triggerMode : request.getFilters().get("trigger_mode")) {
|
||||
if (StringUtils.equalsIgnoreCase(triggerMode, "api")) {
|
||||
|
Loading…
Reference in New Issue
Block a user