From 625c6b6873e855f71eb0dd06bafec4799c6c23a5 Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Wed, 24 Jun 2026 10:42:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=AE=A2=E6=88=B7=E6=8E=88=E4=BF=A1=E8=A1=A8=E5=8D=95submit?= =?UTF-8?q?=E6=97=A0=E5=93=8D=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加 Form id: credit_form - 保存按钮添加 submit binds - 取消按钮添加 close binds - Form 添加 submit 事件 bind 关闭弹窗 --- wwwroot/credit_limit/api/set_credit_form.ui | 25 ++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/wwwroot/credit_limit/api/set_credit_form.ui b/wwwroot/credit_limit/api/set_credit_form.ui index b988917..299ab66 100644 --- a/wwwroot/credit_limit/api/set_credit_form.ui +++ b/wwwroot/credit_limit/api/set_credit_form.ui @@ -1,5 +1,6 @@ { "widgettype": "Form", + "id": "credit_form", "options": { "width": "100%", "padding": "16px", @@ -51,14 +52,32 @@ "label": "保存", "actiontype": "submit", "bgcolor": "#3B82F6", - "color": "#FFFFFF" + "color": "#FFFFFF", + "binds": [{ + "wid": "self", + "event": "click", + "actiontype": "submit", + "target": "self" + }] }, { "label": "取消", "actiontype": "close", "bgcolor": "#475569", - "color": "#FFFFFF" + "color": "#FFFFFF", + "binds": [{ + "wid": "self", + "event": "click", + "actiontype": "close", + "target": "self" + }] } ] - } + }, + "binds": [{ + "wid": "self", + "event": "submit", + "actiontype": "close", + "target": "PopupWindow" + }] }