mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:58:05 +08:00
chore: schema的style属性错误赋值问题 (#6226)
This commit is contained in:
parent
3164f77762
commit
2647fff196
@ -404,7 +404,8 @@ export class SchemaRenderer extends React.Component<SchemaRendererProps, any> {
|
||||
|
||||
// style 支持公式
|
||||
if (schema.style) {
|
||||
schema.style = buildStyle(schema.style, detectData);
|
||||
// schema.style是readonly属性
|
||||
schema = {...schema, style: buildStyle(schema.style, detectData)};
|
||||
}
|
||||
|
||||
const isClassComponent = Component.prototype?.isReactComponent;
|
||||
|
Loading…
Reference in New Issue
Block a user