From 9b1f366e050b7974cff07d24be44d7537ae4b5a4 Mon Sep 17 00:00:00 2001 From: wangli <274027703@qq.com> Date: Wed, 19 Nov 2025 16:49:20 +0800 Subject: [PATCH] =?UTF-8?q?feat(REQ-5965)=20-=20=E7=BB=93=E5=90=88?= =?UTF-8?q?=E5=AE=B9=E5=99=A8=E7=8E=AF=E5=A2=83=E8=BF=94=E5=9B=9E=E5=AE=8C?= =?UTF-8?q?=E5=85=A8=E7=9A=84=20url=20=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/templates/form.html | 29 +++++++++++++++---- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/workflow-engine-server/src/main/resources/templates/form.html b/workflow-engine-server/src/main/resources/templates/form.html index 2f9e41957..3af586338 100644 --- a/workflow-engine-server/src/main/resources/templates/form.html +++ b/workflow-engine-server/src/main/resources/templates/form.html @@ -70,10 +70,29 @@ @@ -558,7 +577,7 @@ try { // 使用全局上下文路径变量拼接URL - const url = getFullUrl(`${ctx}web/process/get-auth-code?password=${encodeURIComponent(password)}`); + const url = getFullUrl(`web/process/get-auth-code?password=${encodeURIComponent(password)}`); // 保持POST请求方式,参数通过URL查询参数传递 const response = await fetch(url, { @@ -624,7 +643,7 @@ }; try { - const fullActionUrl = getFullUrl(this.action); + const fullActionUrl = getFullUrl("/web/process/handle"); // 使用全局上下文路径变量 const response = await fetch(fullActionUrl, { method: this.method,