Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
baiguangyao
mr-julyedu
Commits
d5c097cf
Commit
d5c097cf
authored
Jan 04, 2020
by
wangshuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
名称修改
parent
9ed5bccd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/components/python/index.js
+3
-3
No files found.
src/components/python/index.js
View file @
d5c097cf
import
React
,
{
Component
}
from
'react'
import
{
http
,
getParam
,
SendMessageToApp
,
brow
er
}
from
'@/utils'
import
{
http
,
getParam
,
brows
er
}
from
'@/utils'
import
PythonDes
from
'./pythomDes'
import
PythonStudy
from
'./pythonStudy'
import
{
connect
}
from
"react-redux"
...
...
@@ -93,7 +93,7 @@ class Python extends Component {
let
version
=
getParam
(
'version'
)
if
(
version
)
{
version
=
version
.
replace
(
/
\.
/g
,
''
).
slice
(
0
,
3
)
if
(
brower
.
isAndroidApp
&&
version
<
453
)
{
// 安卓的低版本
if
(
brow
s
er
.
isAndroidApp
&&
version
<
453
)
{
// 安卓的低版本
this
.
setState
({
backwardVersion
:
true
,
isPay
:
0
,
...
...
@@ -103,7 +103,7 @@ class Python extends Component {
isPay
:
data
.
course_info
.
is_pay
})
}
if
(
brower
.
isIOSApp
&&
version
<
380
)
{
// ISO的低版本
if
(
brow
s
er
.
isIOSApp
&&
version
<
380
)
{
// ISO的低版本
this
.
setState
({
backwardVersion
:
true
,
isPay
:
0
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment