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
64634fad
Commit
64634fad
authored
Jun 21, 2021
by
zhujian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'fix:libeId'
parent
97d500db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/modules/course-manage/components/CerateQWCourse.tsx
+3
-2
No files found.
src/modules/course-manage/components/CerateQWCourse.tsx
View file @
64634fad
...
...
@@ -25,7 +25,7 @@ function CerateQWCourse(props: any) {
const
[
liveDuration
,
setLiveDuration
]
=
useState
(
60
);
const
[
liveStart
,
setLiveStart
]
=
useState
(
0
);
const
[
type
,
setType
]
=
useState
(
'0'
);
const
[
livingId
,
setLivingId
]
=
useState
(
0
);
function
handleSave
()
{
const
param
=
{
...
...
@@ -42,6 +42,7 @@ function CerateQWCourse(props: any) {
Service
.
Hades
(
'anon/hades/wxWorkCreateLiveDemo'
,
param
).
then
((
res
)
=>
{
console
.
log
(
22
)
handleConvertShortUrl
(
res
.
result
)
setLivingId
(
res
.
result
)
wx
.
invoke
(
'startLiving'
,
{
"livingId"
:
res
.
result
,
},
function
(
res
:
any
)
{
...
...
@@ -75,7 +76,7 @@ function CerateQWCourse(props: any) {
function
downloadLivingReplay
(){
wx
.
invoke
(
'downloadLivingReplay'
,
{
"livingId"
:
"LIVINGID"
,
livingId
},
function
(
res
:
any
)
{
console
.
log
(
res
,
'tyuuioythbn'
)
if
(
res
.
err_msg
!=
"downloadLivingReplay:ok"
)
{
...
...
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