🔨 优化保存逻辑.

This commit is contained in:
lijiahangmax
2025-12-07 22:10:55 +08:00
parent 6c6f69ae24
commit 7c479b1720

View File

@@ -109,10 +109,13 @@
// 保存主机
const saveHost = async () => {
if (!currentGroup.value?.key) {
return false;
}
setLoading(true);
try {
await updateHostGroupRel({
groupId: currentGroup.value?.key as number,
groupId: currentGroup.value?.key,
hostIdList: currentGroupHost.value
});
Message.success('保存成功');