From 50a8d8ac96cda1f839335f45aef2a71d98d7729d Mon Sep 17 00:00:00 2001 From: baozhoutao Date: Sat, 12 Oct 2024 15:26:31 +0800 Subject: [PATCH] =?UTF-8?q?fix=20[Bug]:=20=E5=AE=A1=E6=89=B9=E7=8E=8B?= =?UTF-8?q?=E7=9A=84=E5=88=86=E5=8F=91=E6=8C=89=E9=92=AE=EF=BC=8C=E5=BA=94?= =?UTF-8?q?=E7=A6=81=E6=AD=A2=E5=A4=9A=E6=AC=A1=E7=82=B9=E5=87=BB=20#7027?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../buttons/instance_distribute.button.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/services/service-workflow/main/default/objects/instances/buttons/instance_distribute.button.yml b/services/service-workflow/main/default/objects/instances/buttons/instance_distribute.button.yml index 31ea565221..41197a5ce9 100644 --- a/services/service-workflow/main/default/objects/instances/buttons/instance_distribute.button.yml +++ b/services/service-workflow/main/default/objects/instances/buttons/instance_distribute.button.yml @@ -21,6 +21,7 @@ amis_schema: |- "dialog": { "type": "dialog", "size": "lg", + "showLoading": true, "title": { "type": "tpl", "id": "u:0bce3c33b6e5", @@ -234,6 +235,14 @@ amis_schema: |- "actionType": "closeDialog" } ] + }, + "validateError": { + "actions": [ + { + "componentId": "u:f7f767bed23f", + "actionType": "enabled" + } + ] } } } @@ -267,6 +276,10 @@ amis_schema: |- "actionType": "validate", "componentId": "u:742f9c0dc8a1" }, + { + "componentId": "u:f7f767bed23f", + "actionType": "disabled" + }, { "componentId": "u:742f9c0dc8a1", "args": {},