Commit 9544334e by zhanghaozhe

Merge branch 'master' into pre

parents ccff3089 5cc2fdab
......@@ -26,13 +26,17 @@ class OpenApp extends Component {
callApp = new CallApp(options)
static defaultProps = {
text: '在APP打开'
}
handleClick = () => {
this.callApp.open({})
}
render() {
return (
<div className={this.props.className} onClick={this.handleClick}>APP打开</div>
<div className={this.props.className} onClick={this.handleClick}>{this.props.text}</div>
);
}
}
......
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