mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 07:25:15 +00:00
fix(Table): fix styling issue with fixed columns (#4857)
This commit is contained in:
parent
e0b5128c9d
commit
dcc7da6e01
@ -539,7 +539,8 @@ export const Table: any = withDynamicSchemaProps(
|
||||
initialInView: isIndex || !!process.env.__E2E__ || dataSource.length <= 10,
|
||||
skip: isIndex || !!process.env.__E2E__,
|
||||
});
|
||||
const { valueMap: style } = useSatisfiedActionValues({ formValues: record, category: 'style', schema });
|
||||
const { valueMap } = useSatisfiedActionValues({ formValues: record, category: 'style', schema });
|
||||
const style = useMemo(() => Object.assign({ ...props.style }, valueMap), [props.style, valueMap]);
|
||||
|
||||
return (
|
||||
<td {...props} ref={ref} className={classNames(props.className, cellClass)} style={style}>
|
||||
|
Loading…
Reference in New Issue
Block a user