fix(web): multi_agent app update sub agent init

This commit is contained in:
zhaoying
2026-01-12 18:13:30 +08:00
parent 617bb43274
commit 18d4a5e865
3 changed files with 34 additions and 4 deletions

View File

@@ -40,7 +40,10 @@ const SubAgentModal = forwardRef<SubAgentModalRef, SubAgentModalProps>(({
const handleSave = () => {
form.validateFields().then(() => {
setLoading(false)
refresh(values)
refresh({
...values,
is_active: true
})
handleClose()
})
}