Skip to content

Commit 228a9bd

Browse files
committed
ios11 高度只有设定height的一半
处理上述bug
1 parent eeeaead commit 228a9bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/Echarts/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export default class App extends Component {
2020
style={{
2121
height: this.props.height || 400,
2222
}}
23+
scalesPageToFit={false}
2324
source={require('./tpl.html')}
2425
onMessage={event => this.props.onPress ? this.props.onPress(JSON.parse(event.nativeEvent.data)) : null}
2526
/>

0 commit comments

Comments
 (0)