组织管理-成员列表total赋值问题
This commit is contained in:
@@ -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 || '查询失败');
|
||||
|
||||
Reference in New Issue
Block a user