fix(web): workflow save function

This commit is contained in:
zhaoying
2025-12-30 20:06:50 +08:00
parent ca8d5f5cc3
commit 61926c29e5
2 changed files with 6 additions and 7 deletions

View File

@@ -113,11 +113,9 @@ const McpServiceModal = forwardRef<McpServiceModalRef, McpServiceModalProps>(({
request.then((res: any) => {
message.success(t('common.saveSuccess'));
testConnection(res.tool_id || editVo?.id)
.then(() => {
handleClose();
})
.finally(() => {
setLoading(false);
handleClose();
refresh()
})
})