diff --git a/backend/src/main/java/io/metersphere/track/issue/TapdPlatform.java b/backend/src/main/java/io/metersphere/track/issue/TapdPlatform.java index 8dda12e7c9..15cc81bf9c 100644 --- a/backend/src/main/java/io/metersphere/track/issue/TapdPlatform.java +++ b/backend/src/main/java/io/metersphere/track/issue/TapdPlatform.java @@ -201,6 +201,8 @@ public class TapdPlatform extends AbstractIssuePlatform { .map(Issues::getId) .collect(Collectors.toList()); + LogUtil.info("ids: " + ids); + if (CollectionUtils.isEmpty(ids)) { return; } diff --git a/backend/src/main/java/io/metersphere/track/issue/client/TapdClient.java b/backend/src/main/java/io/metersphere/track/issue/client/TapdClient.java index 65fbaafc24..e5289cd1d4 100644 --- a/backend/src/main/java/io/metersphere/track/issue/client/TapdClient.java +++ b/backend/src/main/java/io/metersphere/track/issue/client/TapdClient.java @@ -51,6 +51,7 @@ public class TapdClient extends BaseClient { url += "&id={5}"; } String fields = "id,title,description,priority,severity,reporter,status"; + LogUtil.info("ids: " + idStr); ResponseEntity response = restTemplate.exchange(url, HttpMethod.GET, getAuthHttpEntity(), String.class, projectId, pageNum, limit, fields, idStr); return (TapdGetIssueResponse) getResultForObject(TapdGetIssueResponse.class, response); diff --git a/frontend/src/business/components/track/case/components/ShowMoreBtn.vue b/frontend/src/business/components/track/case/components/ShowMoreBtn.vue index d6c4b8a3e5..f211ab299c 100644 --- a/frontend/src/business/components/track/case/components/ShowMoreBtn.vue +++ b/frontend/src/business/components/track/case/components/ShowMoreBtn.vue @@ -35,7 +35,7 @@ buttons: Array, row: Object, size: Number, - hasShowed: Object + hasShowed: Boolean }, created() { if (this.trashEnable) { diff --git a/frontend/src/business/components/track/case/components/TestCaseList.vue b/frontend/src/business/components/track/case/components/TestCaseList.vue index b0f2713582..417ea51bdb 100644 --- a/frontend/src/business/components/track/case/components/TestCaseList.vue +++ b/frontend/src/business/components/track/case/components/TestCaseList.vue @@ -56,7 +56,11 @@ :field="item" :fields-width="fieldsWidth" :label="$t('commons.create_user')" - min-width="120"/> + min-width="120"> + + { this.members = data; + this.members.forEach(item => { + this.memberMap.set(item.id, item.name); + }); }); let p2 = getTestTemplate(); Promise.all([p1, p2]).then((data) => {