diff --git a/src/components/Echarts/index.js b/src/components/Echarts/index.js index 4c557d2..e27fb22 100644 --- a/src/components/Echarts/index.js +++ b/src/components/Echarts/index.js @@ -34,6 +34,7 @@ export default class App extends Component { }} scalesPageToFit={Platform.OS !== 'ios'} source={require('./tpl.html')} + style={{backgroundColor: this.props.option.backgroundColor || 'rgba(0, 0, 0, 0)'}} onMessage={event => this.props.onPress ? this.props.onPress(JSON.parse(event.nativeEvent.data)) : null} />