From 193de3b04d29a3363e03625b94e4ff0117a16031 Mon Sep 17 00:00:00 2001 From: Ma ke <33743617+jiatianqi@users.noreply.github.com> Date: Tue, 28 Jun 2022 18:30:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8Dflex=E5=B8=83=E5=B1=80?= =?UTF-8?q?=E4=BC=A0=E9=80=92=E7=BB=99=20flexItem=E7=9A=84disabled?= =?UTF-8?q?=E5=B1=9E=E6=80=A7bug=E9=97=AE=E9=A2=98=20(#4715)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: ”jiatianqi“ <”jiatianqi@baidu.com“> --- packages/amis/src/renderers/Flex.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/amis/src/renderers/Flex.tsx b/packages/amis/src/renderers/Flex.tsx index bae4aa626..f2f8fe780 100644 --- a/packages/amis/src/renderers/Flex.tsx +++ b/packages/amis/src/renderers/Flex.tsx @@ -117,7 +117,7 @@ export default class Flex extends React.Component { (item, key) => render(`flexItem/${key}`, item, { key: `flexItem/${key}`, - disabled + disabled: item?.disabled ?? disabled }) )}