fix(系统设置): 查看不同项目成员数据开始页未重置

--bug=1032154 --user=宋昌昌 【系统设置】github#27138,项目列表中切换不同产项目的成员列表,上一个项目成员列表的展示会影响下一个项目成员列表的展示 https://www.tapd.cn/55049933/s/1435220
This commit is contained in:
song-cc-rock 2023-11-10 15:17:46 +08:00 committed by 刘瑞斌
parent 1fa1f926b8
commit 54d18bb225
2 changed files with 3 additions and 2 deletions

View File

@ -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;

View File

@ -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) {