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,