mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
Merge pull request #7809 from wibetter/master
fix(amis): 修正chart的height设置
This commit is contained in:
commit
9808eaf9f8
@ -597,7 +597,7 @@ export class Chart extends React.Component<ChartProps> {
|
||||
} = this.props;
|
||||
let style = this.props.style || {};
|
||||
style.width = style.width || width || '100%';
|
||||
style.height = style.width || height || '300px';
|
||||
style.height = style.height || height || '300px';
|
||||
const styleVar = buildStyle(style, data);
|
||||
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user