重构代码.

This commit is contained in:
lijiahangmax
2023-11-21 01:11:44 +08:00
parent 8fe105fc8a
commit 69c71055d9
9 changed files with 98 additions and 70 deletions

View File

@@ -39,7 +39,7 @@ export interface HostGroupQueryResponse {
*/
export interface HostGroupRelUpdateRequest {
groupId?: number;
relIdList?: Array<string>;
hostIdList?: Array<string>;
}
/**

View File

@@ -110,7 +110,7 @@
emits('loading', true);
await updateHostGroupRel({
groupId: props.group?.key as number,
relIdList: value.value
hostIdList: value.value
});
Message.success('保存成功');
} catch (e) {