Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
b3bbdbd8
Commit
b3bbdbd8
authored
Jul 14, 2021
by
zhujian
Browse files
Options
Browse Files
Download
Plain Diff
fix:优化视频课跳转
parents
7e5808ef
5f71017f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
src/modules/course-manage/video-course/components/VideoCourseList.jsx
+7
-2
No files found.
src/modules/course-manage/video-course/components/VideoCourseList.jsx
View file @
b3bbdbd8
...
...
@@ -126,8 +126,13 @@ class VideoCourseList extends React.Component {
width
:
100
,
align
:
'right'
,
render
:
(
val
,
item
)
=>
{
<<
<
<<<<
HEAD
return
<
div
onClick=
{
()
=>
this
.
handleLinkToCourseDetail
(
item
.
id
)
}
>
{
val
||
1
}
</
div
>;
},
=======
return
<
div
onClick=
{
()
=>
this
.
handleLinkToCourseDetail
(
item
.
id
)
}
>
{
val
||
1
}
</
div
>
}
>>>>>>>
feature
/
wufan
/
20210701
/
course
-
B
-
reform
},
{
title
:
(
...
...
@@ -364,8 +369,8 @@ class VideoCourseList extends React.Component {
// 显示分享弹窗
handleShowShareModal
=
(
record
,
needStr
=
false
)
=>
{
const
{
type
}
=
this
.
props
;
const
{
id
,
scheduleVideoUrl
}
=
record
;
const
htmlUrl
=
`
${
LIVE_SHARE
}
video_detail/
${
id
}
?id=
${
User
.
getStoreId
()}
`
;
const
{
id
,
scheduleVideoUrl
,
chapterNum
}
=
record
;
const
htmlUrl
=
chapterNum
>
1
?
`
${
LIVE_SHARE
}
course_detail/
${
id
}
?id=
${
User
.
getStoreId
()}
`
:
`
${
LIVE_SHARE
}
video_detail/
${
id
}
?id=
${
User
.
getStoreId
()}
`
;
const
longUrl
=
htmlUrl
;
const
{
coverUrl
,
courseName
}
=
record
;
const
shareData
=
{
...
...
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