style: 优化布局和交互(Loading/空状态/骨架屏)
Build and Deploy Vue3 / build (push) Successful in 1m51s
Build and Deploy Vue3 / deploy (push) Successful in 1m15s

This commit is contained in:
2026-04-07 16:51:12 +08:00
parent f0e89695f4
commit 2f06aa9f5f
15 changed files with 2216 additions and 1681 deletions
+2 -2
View File
@@ -2306,8 +2306,8 @@ const submitSgCreate = () => {
fd.append('name', sgCreateForm.name)
fd.append('host_id', sgCreateForm.host_id)
fd.append('direction', sgCreateForm.direction)
if (sgCreateForm.lock) fd.append('lock', true)
if (sgCreateForm.drop_all) fd.append('drop_all', true)
fd.append('lock', sgCreateForm.lock ? 'true' : 'false')
fd.append('drop_all', sgCreateForm.drop_all ? 'true' : 'false')
const res = await createSecurityGroup(fd)
if (res?.data?.code === 200) {
ElMessage.success('创建成功')