From 102543088e0c47613935e0d3232d37d1801962b9 Mon Sep 17 00:00:00 2001 From: ZLY Date: Mon, 2 Mar 2026 11:48:31 +0800 Subject: [PATCH] =?UTF-8?q?fix(envConfigModal):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=A4=8D=E5=88=B6=E5=91=BD=E4=BB=A4=E5=8A=9F=E8=83=BD=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E5=A4=8D=E5=88=B6=E8=BD=AC=E4=B9=89=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../componentDeployment/envConfigModal.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/componentDevelopment/componentDeployment/envConfigModal.tsx b/src/pages/componentDevelopment/componentDeployment/envConfigModal.tsx index 784f021..54dc6b7 100644 --- a/src/pages/componentDevelopment/componentDeployment/envConfigModal.tsx +++ b/src/pages/componentDevelopment/componentDeployment/envConfigModal.tsx @@ -85,8 +85,8 @@ const EnvConfigModal: React.FC = ({ }; const handleCopyCommand = () => { - const rawCommand = language.includes('Python') ? configData.pythonCommand : configData.javaCommand; - const textToCopy = showEscaped ? rawCommand : rawCommand; + // const rawCommand = language.includes('Python') ? configData.pythonCommand : configData.javaCommand; + const textToCopy = getDisplayCommand(); const success = copy(textToCopy);