diff --git a/backend/src/main/java/io/metersphere/api/service/ApiDefinitionService.java b/backend/src/main/java/io/metersphere/api/service/ApiDefinitionService.java index a8df0cf769..bda8144587 100644 --- a/backend/src/main/java/io/metersphere/api/service/ApiDefinitionService.java +++ b/backend/src/main/java/io/metersphere/api/service/ApiDefinitionService.java @@ -1687,6 +1687,7 @@ public class ApiDefinitionService { } Page page = PageHelper.startPage(goPage, pageSize, true); List resList = extApiDefinitionMapper.listRelevance(request); + buildUserInfo(resList); calculateResult(resList, request.getProjectId()); return PageUtils.setPageInfo(page, resList); } diff --git a/frontend/src/business/components/api/definition/components/complete/ApiTableList.vue b/frontend/src/business/components/api/definition/components/complete/ApiTableList.vue index d92069cee7..d603f3dab7 100644 --- a/frontend/src/business/components/api/definition/components/complete/ApiTableList.vue +++ b/frontend/src/business/components/api/definition/components/complete/ApiTableList.vue @@ -187,7 +187,9 @@ export default { }, created: function () { getProjectMember((data) => { - this.userFilters = data; + this.userFilters = data.map(u => { + return {text: u.name, value: u.id}; + }); }); this.getProtocolFilter(); this.checkVersionEnable();