Skip to content

Commit 6bbb099

Browse files
authored
Merge pull request #136 from hydraZty/webview
@BugFix, Webview does not show in the release version
2 parents 3767dee + 0e592c5 commit 6bbb099

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
@@ -33,6 +33,7 @@ export default class App extends Component {
3333
backgroundColor: this.props.backgroundColor || 'transparent'
3434
}}
3535
scalesPageToFit={Platform.OS !== 'ios'}
36+
originWhitelist={['*']}
3637
source={require('./tpl.html')}
3738
onMessage={event => this.props.onPress ? this.props.onPress(JSON.parse(event.nativeEvent.data)) : null}
3839
/>

0 commit comments

Comments
 (0)