From 43f5194e05fb9f917be35a6e9f4d51e60242b0b1 Mon Sep 17 00:00:00 2001 From: mayumi Date: Mon, 14 Jul 2025 07:49:23 +0000 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E7=92=B0=E5=A2=83=E5=A4=89=E6=95=B0?= =?UTF-8?q?=E3=81=8Cnull=E3=81=AE=E5=A0=B4=E5=90=88=E3=81=AE=E5=AF=BE?= =?UTF-8?q?=E5=BF=9C=E3=81=A8=E3=80=81=E3=82=B9=E3=83=A9=E3=82=A4=E3=83=80?= =?UTF-8?q?=E3=83=BC=E3=81=AE=E8=AA=BF=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Apps/ComposeConfig.vue | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/components/Apps/ComposeConfig.vue b/src/components/Apps/ComposeConfig.vue index 825aa72..7eb29be 100644 --- a/src/components/Apps/ComposeConfig.vue +++ b/src/components/Apps/ComposeConfig.vue @@ -392,8 +392,9 @@ export default { : Object.entries(composeServicesItemInput.environment) composeServicesItem.environment = envArray.map((item) => { const ii = typeof item === 'object' ? Array.from(item) : item.split('=') + const rawHostValue = ii[1] ?? '' return { - host: ii[1].replace(/"/g, ''), + host: rawHostValue.replace(/"/g, ''), container: ii[0], } }) @@ -896,9 +897,15 @@ export default { - - + +