From 82b87061344ebe4c6a9dbd258e8891fcc39bfdc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E6=B5=A9=E6=9E=97?= Date: Thu, 29 Aug 2024 10:37:20 +0800 Subject: [PATCH] =?UTF-8?q?[Bug]:=20=E8=AE=BE=E7=BD=AE=E5=AD=90=E8=A1=A8?= =?UTF-8?q?=E5=BF=85=E5=A1=AB=EF=BC=8C=E4=BD=86=E6=9C=AA=E5=A1=AB=E5=8F=91?= =?UTF-8?q?=E8=B5=B7=E5=AE=A1=E6=89=B9=E6=97=B6=EF=BC=8C=E5=A4=9A=E5=BC=B9?= =?UTF-8?q?=E5=87=BA=E4=B8=80=E4=B8=AA=E7=A9=BA=E7=99=BD=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=20#6975?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/default/client/amis.actions.client.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/service-plugin-amis/main/default/client/amis.actions.client.js b/services/service-plugin-amis/main/default/client/amis.actions.client.js index 903fcb44af..e8559bb23e 100644 --- a/services/service-plugin-amis/main/default/client/amis.actions.client.js +++ b/services/service-plugin-amis/main/default/client/amis.actions.client.js @@ -1,8 +1,8 @@ /* * @Author: baozhoutao@steedos.com * @Date: 2024-01-26 11:40:59 - * @LastEditors: 殷亮辉 yinlianghui@hotoa.com - * @LastEditTime: 2024-08-06 16:56:04 + * @LastEditors: 孙浩林 sunhaolin@steedos.com + * @LastEditTime: 2024-08-29 10:36:05 * @Description: */ @@ -80,7 +80,7 @@ amisLib.registerAction('steedos_actions_standard_approve', { { "actionType": "custom", "script": afterDrafts, - "expression": "${event.data.flowCount == 1}" + "expression": "${event.data.flowCount == 1 && event.data.draftUrl}" }, { "actionType": "dialog",