From 42c219301cfd9fd615919dc72d1d20b096b85a59 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:35:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=8B=E6=9C=BA=E4=B8=8A=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E6=B2=A1=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/steedos/steedos-project-hbport/issues/583 --- .../amis-object/src/amis/AmisGlobalHeader.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/@steedos-widgets/amis-object/src/amis/AmisGlobalHeader.tsx b/packages/@steedos-widgets/amis-object/src/amis/AmisGlobalHeader.tsx index ab1175fe4..729a10c3a 100644 --- a/packages/@steedos-widgets/amis-object/src/amis/AmisGlobalHeader.tsx +++ b/packages/@steedos-widgets/amis-object/src/amis/AmisGlobalHeader.tsx @@ -2,7 +2,7 @@ * @Author: baozhoutao@steedos.com * @Date: 2022-09-01 14:44:57 * @LastEditors: 殷亮辉 yinlianghui@hotoa.com - * @LastEditTime: 2023-05-18 22:39:31 + * @LastEditTime: 2024-01-04 09:24:11 * @Description: */ @@ -29,7 +29,10 @@ export const AmisGlobalHeader = async (props) => { "@history_paths.changed": { "actions": [ { - "actionType": "reload" + "actionType": "reload", + // amis 3.6需要传入data来触发下面的window:historyPaths重新计算 + "data": { + } } ] }