From 54d18bb225cd547264ab54425c57acea48f1d2a1 Mon Sep 17 00:00:00 2001 From: song-cc-rock Date: Fri, 10 Nov 2023 15:17:46 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E4=B8=8D=E5=90=8C=E9=A1=B9=E7=9B=AE=E6=88=90?= =?UTF-8?q?=E5=91=98=E6=95=B0=E6=8D=AE=E5=BC=80=E5=A7=8B=E9=A1=B5=E6=9C=AA?= =?UTF-8?q?=E9=87=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1032154 --user=宋昌昌 【系统设置】github#27138,项目列表中切换不同产项目的成员列表,上一个项目成员列表的展示会影响下一个项目成员列表的展示 https://www.tapd.cn/55049933/s/1435220 --- .../frontend/src/business/workspace/project/MsProject.vue | 2 +- .../src/main/java/io/metersphere/service/IssuesService.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/system-setting/frontend/src/business/workspace/project/MsProject.vue b/system-setting/frontend/src/business/workspace/project/MsProject.vue index 0ea2246657..48fc523e27 100644 --- a/system-setting/frontend/src/business/workspace/project/MsProject.vue +++ b/system-setting/frontend/src/business/workspace/project/MsProject.vue @@ -422,6 +422,7 @@ export default { cellClick(row) { this.rowProjectId = row.id; // 保存当前点击的组织信息到currentRow + this.dialogCurrentPage = 1; this.currentWorkspaceRow = row; this.currentProjectId = row.id; let param = { @@ -429,7 +430,6 @@ export default { projectId: row.id }; this.memberTableLoading = getProjectMemberPages(this.dialogCurrentPage, this.dialogPageSize, row.workspaceId, param).then(res => { - console.log(111) let data = res.data; let {listObject, itemCount} = data; this.memberLineData = listObject; diff --git a/test-track/backend/src/main/java/io/metersphere/service/IssuesService.java b/test-track/backend/src/main/java/io/metersphere/service/IssuesService.java index bfbfa0ead4..da5196d6fd 100644 --- a/test-track/backend/src/main/java/io/metersphere/service/IssuesService.java +++ b/test-track/backend/src/main/java/io/metersphere/service/IssuesService.java @@ -55,6 +55,7 @@ import io.metersphere.service.remote.project.TrackIssueTemplateService; import io.metersphere.service.wapper.TrackProjectService; import io.metersphere.service.wapper.UserService; import io.metersphere.utils.DistinctKeyUtil; +import io.metersphere.xpack.track.dto.AttachmentRequest; import io.metersphere.xpack.track.dto.PlatformStatusDTO; import io.metersphere.xpack.track.dto.PlatformUser; import io.metersphere.xpack.track.dto.*; @@ -2110,7 +2111,7 @@ public class IssuesService { try { XpackIssueService xpackIssueService = CommonBeanFactory.getBean(XpackIssueService.class); xpackIssueService.syncThirdPartyIssues(project, syncRequest); - if (platformPluginService.isPluginPlatform(project.getPlatform())) { + if (PlatformPluginService.isPluginPlatform(project.getPlatform())) { syncAllPluginIssueAttachment(project, syncRequest); } } catch (Exception e) {