Commit 17390a00 authored by 陈龙's avatar 陈龙

feat: 更新图表样式设置

parent 883a88d0
...@@ -17,13 +17,12 @@ const ECharts = memo( ...@@ -17,13 +17,12 @@ const ECharts = memo(
// const chartProps = pick(props, ['option', 'notMerge', 'lazyUpdate', 'style', 'className', 'theme', 'onChartReady', 'loadingOption', 'showLoading', 'onEvents', 'opts']); // const chartProps = pick(props, ['option', 'notMerge', 'lazyUpdate', 'style', 'className', 'theme', 'onChartReady', 'loadingOption', 'showLoading', 'onEvents', 'opts']);
console.log('update ');
return ( return (
<ReactEcharts <ReactEcharts
ref={ref} ref={ref}
className={classNames(prefixCls, props.className)} className={classNames(prefixCls, props.className)}
option={option} option={option}
style={{width: '100%',height:'100%'}}
{...chartProps} {...chartProps}
/> />
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment