Commit d5c097cf by wangshuo

名称修改

parent 9ed5bccd
import React, {Component} from 'react' import React, {Component} from 'react'
import {http, getParam, SendMessageToApp, brower} from '@/utils' import {http, getParam, browser} from '@/utils'
import PythonDes from './pythomDes' import PythonDes from './pythomDes'
import PythonStudy from './pythonStudy' import PythonStudy from './pythonStudy'
import {connect} from "react-redux" import {connect} from "react-redux"
...@@ -93,7 +93,7 @@ class Python extends Component { ...@@ -93,7 +93,7 @@ class Python extends Component {
let version = getParam('version') let version = getParam('version')
if(version) { if(version) {
version = version.replace(/\./g, '').slice(0, 3) version = version.replace(/\./g, '').slice(0, 3)
if(brower.isAndroidApp && version < 453) { // 安卓的低版本 if(browser.isAndroidApp && version < 453) { // 安卓的低版本
this.setState({ this.setState({
backwardVersion: true, backwardVersion: true,
isPay: 0, isPay: 0,
...@@ -103,7 +103,7 @@ class Python extends Component { ...@@ -103,7 +103,7 @@ class Python extends Component {
isPay: data.course_info.is_pay isPay: data.course_info.is_pay
}) })
} }
if(brower.isIOSApp && version < 380) { // ISO的低版本 if(browser.isIOSApp && version < 380) { // ISO的低版本
this.setState({ this.setState({
backwardVersion: true, backwardVersion: true,
isPay: 0, isPay: 0,
......
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