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
e1cc8ecf
Commit
e1cc8ecf
authored
Mar 13, 2020
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
我的课程
parent
77226fed
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
src/components/study/myCourses/index.js
+6
-7
No files found.
src/components/study/myCourses/index.js
View file @
e1cc8ecf
...
...
@@ -79,7 +79,7 @@ class MyCourses extends Component {
handleClick
=
(
id
,
item
)
=>
{
const
{
history
}
=
this
.
props
const
{
mode
,
course_id
}
=
item
if
(
mode
&&
mode
==
6
)
{
if
(
mode
&&
mode
==
6
)
{
history
.
push
(
`/python?id=
${
course_id
}
`
)
return
}
...
...
@@ -156,11 +156,11 @@ class MyCourses extends Component {
)
const
status
=
(
item
.
is_aist
&&
<
span
className
=
'status'
>
返现
<
/span
>
)
const
courseExpire
=
(
item
.
course_expire
&&
item
.
course_expire
!=
''
&&
<
span
className
=
'course-expire'
>
{
item
.
course_expire
}
<
/span
>
item
.
is_aist
?
<
span
className
=
'status'
>
返现
<
/span
>
:
item
.
course_expire
?
<
span
className
=
'course-expire'
>
{
item
.
course_expire
}
<
/span
>
:
null
)
return
(
<
VList
img
=
{
item
.
image_name
}
...
...
@@ -169,7 +169,6 @@ class MyCourses extends Component {
key
=
{
index
}
info
=
{
Info
}
status
=
{
status
}
courseExpire
=
{
courseExpire
}
item
=
{
item
}
id
=
{
item
[
'v_course_id'
]}
/
>
...
...
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