组织管理-成员列表total赋值问题

This commit is contained in:
LovableCat
2025-03-18 22:43:39 +08:00
parent 2726e5f5f6
commit 806d943829

View File

@@ -317,10 +317,13 @@ function editOrganizationCancel() {
// -------------------- 邀请、查询成员 --------------------
async function getMemberList() {
memberListSearchLoading.value = true;
originMemberList = [];
pager.total = 0;
try {
const res = await getOrganizationMemberListApi({ groupId: organizationInfo.value.groupId });
if (res.data?.code === 200) {
originMemberList = res.data?.data;
pager.total = originMemberList.length;
updateFilterTableList();
} else {
Message.warning(res.data?.msg || '查询失败');