fix: tool update refresh

This commit is contained in:
zhaoying
2025-12-30 18:19:31 +08:00
parent 262952c022
commit 67d6286274
4 changed files with 21 additions and 16 deletions

View File

@@ -115,10 +115,10 @@ const McpServiceModal = forwardRef<McpServiceModalRef, McpServiceModalProps>(({
testConnection(res.tool_id || editVo?.id)
.then(() => {
handleClose();
refresh()
})
.finally(() => {
setLoading(false);
refresh()
})
})
.catch(() => {