Commit 7cf1323e by wangshuo

线上不显示入口以及要显示网页的判断

parent f2449548
......@@ -62,7 +62,6 @@ class Python extends Component {
isAppUpdate: true
})
}
alert(`uid = ${cookie.get("uid")}`);
this.props.setCurrentUser(this.transformUser(this.state.userInfoList))
}
......@@ -94,7 +93,6 @@ class Python extends Component {
let version = getParam('version')
if(version) {
version = version.replace(/\./g, '').slice(0, 3)
alert(version);
if(browser.isAndroidApp && version < 453) { // 安卓的低版本
this.setState({
backwardVersion: true,
......
......@@ -96,7 +96,7 @@ class PythonDes extends Component {
},
],
payMoney: 0,
isOnline: true, //课程是否上架
isOnline: false, //课程是否上架
}
}
......
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