Fix echarts overflow on Android

This commit is contained in:
wxsm 2017-12-25 21:33:48 +08:00
parent 9ee6a04c9d
commit 405e9f7a55
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ export default class App extends Component {
height: this.props.height || 400, height: this.props.height || 400,
backgroundColor: this.props.backgroundColor || 'transparent' backgroundColor: this.props.backgroundColor || 'transparent'
}} }}
scalesPageToFit={false} scalesPageToFit={true}
source={require('./tpl.html')} source={require('./tpl.html')}
onMessage={event => this.props.onPress ? this.props.onPress(JSON.parse(event.nativeEvent.data)) : null} onMessage={event => this.props.onPress ? this.props.onPress(JSON.parse(event.nativeEvent.data)) : null}
/> />