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
ea6675dd
Commit
ea6675dd
authored
Aug 10, 2021
by
maolipeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:进入企微直播间
parent
77b56557
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
7 deletions
+21
-7
src/modules/course-manage/components/LiveCourseList.jsx
+21
-7
No files found.
src/modules/course-manage/components/LiveCourseList.jsx
View file @
ea6675dd
...
@@ -771,13 +771,27 @@ class LiveCourseList extends React.Component {
...
@@ -771,13 +771,27 @@ class LiveCourseList extends React.Component {
})
})
return
return
}
}
WechatApi
.
enterLiveRoom
(
item
.
livingId
).
then
((
res
)
=>
{
CourseService
.
getWorkWXLiveCourseDetail
({
console
.
log
(
res
)
liveCourseId
:
item
.
liveCourseId
,
}).
catch
((
err
)
=>
{
}).
then
((
res
)
=>
{
Modal
.
warning
({
const
{
title
:
"提示"
,
courseState
content
:
err
}
=
res
.
result
;
})
if
(
courseState
===
"FINISH"
)
{
Modal
.
warning
({
title
:
"刷新页面"
,
content
:
"该课程已结束,请查看回放"
})
}
else
{
WechatApi
.
enterLiveRoom
(
item
.
livingId
).
then
((
res
)
=>
{
console
.
log
(
res
)
}).
catch
((
err
)
=>
{
Modal
.
warning
({
title
:
"提示"
,
content
:
err
})
})
}
})
})
return
return
}
}
...
...
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