From 4a8bc3cb7a1919dfd63a80abc10cfdd03c7afc0b Mon Sep 17 00:00:00 2001 From: 2910410219 <2910410219@qq.com> Date: Sat, 6 Jun 2026 10:46:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=B8=8A=E7=BA=A7=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E9=80=89=E6=8B=A9=E9=80=BB=E8=BE=91=EF=BC=8C=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=E5=8F=AF=E9=80=89=E5=8F=82=E6=95=B0=E5=88=97=E8=A1=A8?= =?UTF-8?q?=EF=BC=8C=E6=8E=92=E9=99=A4=20HTTP/HTTPS=20=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E8=8A=82=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/settings/creation/index.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/views/settings/creation/index.vue b/src/views/settings/creation/index.vue index 4b9f31f..eb09b65 100644 --- a/src/views/settings/creation/index.vue +++ b/src/views/settings/creation/index.vue @@ -227,7 +227,7 @@ - + @@ -3055,7 +3055,7 @@ const canAddCustomFields = (element: SelectedState | null) => { return true; }; -// 判断是否可以选择上级参数(排除表单参数节点和开始节点) +// 判断是否可以选择上级参数(排除表单参数节点、开始节点和 HTTP/HTTPS 接口节点) const canSelectParentParams = (element: SelectedState | null) => { if (!element || element.kind !== 'node') return false; const nodeCode = String(element.properties?.nodeCode || '').toLowerCase(); @@ -3067,6 +3067,9 @@ const canSelectParentParams = (element: SelectedState | null) => { // 排除表单参数节点 if (nodeCode === 'form' || text.includes('表单参数')) return false; + // 排除 HTTP/HTTPS 接口节点 + if (nodeCode === 'http' || nodeCode === 'https') return false; + return true; }; // 添加上级参数到 inputSource