Commit 3b8e9b50 by wangshuo

APP安卓

parent f2449548
...@@ -96,11 +96,13 @@ class Python extends Component { ...@@ -96,11 +96,13 @@ class Python extends Component {
version = version.replace(/\./g, '').slice(0, 3) version = version.replace(/\./g, '').slice(0, 3)
alert(version); alert(version);
if(browser.isAndroidApp && version < 453) { // 安卓的低版本 if(browser.isAndroidApp && version < 453) { // 安卓的低版本
alert('低版本');
this.setState({ this.setState({
backwardVersion: true, backwardVersion: true,
isPay: 0, isPay: 0,
}) })
}else{ }else{
alert('高版本');
this.setState({ this.setState({
backwardVersion: false, backwardVersion: false,
isPay: data.course_info.is_pay isPay: data.course_info.is_pay
......
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