feat: 将页面添加分页
This commit is contained in:
@@ -265,17 +265,17 @@ const treeGroupList = computed(() => {
|
||||
const normalizeHostGroup = (item) => {
|
||||
if (!item) return item
|
||||
return {
|
||||
...item, // 保留原始字段
|
||||
...item,
|
||||
id: item.Id ?? item.id,
|
||||
serviceId: item.ServiceId ?? item.serviceId ?? item.service_id,
|
||||
remoteId: item.ServiceHostGroupId ?? item.remoteId ?? item.remote_id,
|
||||
parentRemoteId: item.ServiceParentHostGroupId ?? item.parentRemoteId,
|
||||
remoteId: item.ServiceHostGroupId ?? item.serviceHostGroupId ?? item.remoteId ?? item.remote_id,
|
||||
parentRemoteId: item.ServiceParentHostGroupId ?? item.serviceParentHostGroupId ?? item.parentRemoteId ?? item.parent_remote_id ?? 0,
|
||||
goodGroupId: item.GoodGroupId ?? item.goodGroupId ?? item.good_group_id ?? 0,
|
||||
goodId: item.GoodId ?? item.goodId ?? item.good_id ?? 0,
|
||||
name: item.Name ?? item.name,
|
||||
note: item.Note ?? item.note,
|
||||
CreatedAt: item.CreatedAt ?? item.created_at,
|
||||
UpdatedAt: item.UpdatedAt ?? item.updated_at,
|
||||
CreatedAt: item.CreatedAt ?? item.createdAt ?? item.created_at,
|
||||
UpdatedAt: item.UpdatedAt ?? item.updatedAt ?? item.updated_at,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user