From 55b77fdf5cdd305fcd43e1e2d6098b8188c8e1ae Mon Sep 17 00:00:00 2001 From: yoan <536464346@qq.com> Date: Wed, 30 Oct 2024 11:03:41 +0800 Subject: [PATCH] Fix the issue where the deployment type could not be selected --- ui/index.html | 2 +- ui/src/components/certimate/AccessEditDialog.tsx | 11 ++++++++++- ui/src/components/certimate/DeployEditDialog.tsx | 7 ++++++- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/ui/index.html b/ui/index.html index 1b46f3b3..c1604c3c 100644 --- a/ui/index.html +++ b/ui/index.html @@ -6,7 +6,7 @@ Certimate - Your Trusted SSL Automation Partner - +
diff --git a/ui/src/components/certimate/AccessEditDialog.tsx b/ui/src/components/certimate/AccessEditDialog.tsx index afa41da8..afb23068 100644 --- a/ui/src/components/certimate/AccessEditDialog.tsx +++ b/ui/src/components/certimate/AccessEditDialog.tsx @@ -195,7 +195,16 @@ const AccessEditDialog = ({ trigger, op, data, className }: AccessEditProps) => } return ( - + { + if (openState) { + document.body.style.pointerEvents = "auto"; + } + setOpen(openState); + }} + open={open} + modal={false} + > {trigger} diff --git a/ui/src/components/certimate/DeployEditDialog.tsx b/ui/src/components/certimate/DeployEditDialog.tsx index 3e4804b9..6db96012 100644 --- a/ui/src/components/certimate/DeployEditDialog.tsx +++ b/ui/src/components/certimate/DeployEditDialog.tsx @@ -179,7 +179,12 @@ const DeployEditDialog = ({ trigger, deployConfig, onSave }: DeployEditDialogPro > {trigger} - + { + event.preventDefault(); + }} + > {t("domain.deployment.tab")}