From 27c32e1ddb73179c385d151950377ca45da61f72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AE=B7=E4=BA=AE=E8=BE=89?= Date: Thu, 4 Jan 2024 09:50:54 +0800 Subject: [PATCH] =?UTF-8?q?fix=20PC=E4=B8=8A=E8=AE=B0=E5=BD=95=E8=AF=A6?= =?UTF-8?q?=E7=BB=86=E9=A1=B5=E9=9D=A2=E8=BF=94=E5=9B=9E=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E9=9A=8F=E6=9C=BA=E5=87=BA=E7=8E=B0=E6=B2=A1=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/steedos/steedos-platform/issues/6053 --- .../amis-lib/src/lib/converter/amis/header.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/@steedos-widgets/amis-lib/src/lib/converter/amis/header.js b/packages/@steedos-widgets/amis-lib/src/lib/converter/amis/header.js index 07328854d..823e61266 100644 --- a/packages/@steedos-widgets/amis-lib/src/lib/converter/amis/header.js +++ b/packages/@steedos-widgets/amis-lib/src/lib/converter/amis/header.js @@ -279,7 +279,10 @@ export async function getObjectRecordDetailHeader(objectSchema, recordId, option "@history_paths.changed": { "actions": [ { - "actionType": "reload" + "actionType": "reload", + // amis 3.6需要传入data来触发下面的window:historyPaths重新计算,此问题随机偶发,加上data后正常 + "data": { + } } ] }