From b90b40e71f3310441c2fe16d18c320b23538cd74 Mon Sep 17 00:00:00 2001 From: sealday Date: Fri, 24 May 2024 10:57:28 +0800 Subject: [PATCH] fix: props disabled (#1047) Reviewed-on: https://git.daoyoucloud.com/daoyoucloud/tachybase/pulls/1047 --- .../core/client/src/schema-component/antd/variable/Input.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/client/src/schema-component/antd/variable/Input.tsx b/packages/core/client/src/schema-component/antd/variable/Input.tsx index 50df43065..e1e679663 100644 --- a/packages/core/client/src/schema-component/antd/variable/Input.tsx +++ b/packages/core/client/src/schema-component/antd/variable/Input.tsx @@ -132,7 +132,7 @@ function getTypedConstantOption(type: string, types: true | string[], fieldNames }; } -const useStyles2 = createStyles(({ css }, { props: { disabled: boolean } }) => { +const useStyles2 = createStyles(({ css }, { disabled }: { disabled: boolean }) => { return { container: css` position: relative;