From f8d1adc788ce65e4b87287bebf67394bafd9fa3b Mon Sep 17 00:00:00 2001 From: zhanghao <774378400@qq.com> Date: Thu, 10 Sep 2026 15:25:41 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0dotenv=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=EF=BC=8C=E5=A2=9E=E5=BC=BA=E9=85=8D=E7=BD=AE=E7=AE=A1?= =?UTF-8?q?=E7=90=86=EF=BC=9B=E6=9B=B4=E6=96=B0Aside=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E4=BB=A5=E4=BC=A0=E9=80=92flowId=EF=BC=9B=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E8=AF=AD=E6=96=99=E8=8E=B7=E5=8F=96=E8=8A=82=E7=82=B9=E5=8F=8A?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + pnpm-lock.yaml | 9 ++++ src/views/flow/components/Aside.vue | 19 +++++++- src/views/flow/config.js | 48 +++++++++++++-------- src/views/flow/index.vue | 2 +- src/views/flow/nodes/common/serviceNode.vue | 2 + 6 files changed, 60 insertions(+), 21 deletions(-) diff --git a/package.json b/package.json index c04c35f..55824e0 100644 --- a/package.json +++ b/package.json @@ -47,6 +47,7 @@ "axios": "1.13.2", "clipboard": "2.0.11", "dayjs": "^1.11.13", + "dotenv": "^17.4.2", "echarts": "5.6.0", "file-saver": "2.0.5", "fuse.js": "7.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c7d6aff..114fdce 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -38,6 +38,9 @@ importers: dayjs: specifier: ^1.11.13 version: 1.11.23 + dotenv: + specifier: ^17.4.2 + version: 17.4.2 echarts: specifier: 5.6.0 version: 5.6.0 @@ -1016,6 +1019,10 @@ packages: dompurify@3.2.7: resolution: {integrity: sha512-WhL/YuveyGXJaerVlMYGWhvQswa7myDG17P7Vu65EWC05o8vfeNbvNf4d/BOvH99+ZW+LlQsc1GDKMa1vNK6dw==} + dotenv@17.4.2: + resolution: {integrity: sha512-nI4U3TottKAcAD9LLud4Cb7b2QztQMUEfHbvhTH09bqXTxnSie8WnjPALV/WMCrJZ6UV/qHJ6L03OqO3LcdYZw==} + engines: {node: '>=12'} + dunder-proto@1.0.1: resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==} engines: {node: '>= 0.4'} @@ -2730,6 +2737,8 @@ snapshots: optionalDependencies: '@types/trusted-types': 2.0.7 + dotenv@17.4.2: {} + dunder-proto@1.0.1: dependencies: call-bind-apply-helpers: 1.0.2 diff --git a/src/views/flow/components/Aside.vue b/src/views/flow/components/Aside.vue index a818eef..45edf74 100644 --- a/src/views/flow/components/Aside.vue +++ b/src/views/flow/components/Aside.vue @@ -31,7 +31,7 @@