fix: props disabled (#1047)

Reviewed-on: daoyoucloud/tachybase#1047
This commit is contained in:
sealday 2024-05-24 10:57:28 +08:00
parent ede7ead8b1
commit b90b40e71f

View File

@ -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 { return {
container: css` container: css`
position: relative; position: relative;