Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
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
李俊赕
self-support
Commits
1acc779b
Commit
1acc779b
authored
Apr 30, 2021
by
刘用法
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://git.banshouhui.com/lijundan/self-support
parents
2f395af8
1784ddb8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
section.vue
src/pages/learn/section.vue
+5
-5
No files found.
src/pages/learn/section.vue
View file @
1acc779b
...
@@ -97,7 +97,7 @@
...
@@ -97,7 +97,7 @@
}
}
},
},
params
:{
params
:{
course_id
:
0
,
course_id
:
173
,
},
},
gklog
:
''
,
gklog
:
''
,
videoTotalTime
:
0
,
videoTotalTime
:
0
,
...
@@ -202,7 +202,7 @@
...
@@ -202,7 +202,7 @@
this
.
section_content
=
res
.
data
.
content
;
this
.
section_content
=
res
.
data
.
content
;
this
.
teacher
.
name
=
res
.
data
.
teachers
[
0
].
name
;
this
.
teacher
.
name
=
res
.
data
.
teachers
[
0
].
name
;
this
.
teacher
.
avatar
=
res
.
data
.
teachers
[
0
].
avatar
;
this
.
teacher
.
avatar
=
res
.
data
.
teachers
[
0
].
avatar
;
this
.
param
.
course_id
=
res
.
data
.
course_id
;
this
.
param
s
.
course_id
=
res
.
data
.
course_id
;
if
(
this
.
isShowVideo
)
{
if
(
this
.
isShowVideo
)
{
let
coureWareList
=
res
.
data
.
courseware
;
let
coureWareList
=
res
.
data
.
courseware
;
this
.
courseSrc
=
coureWareList
[
0
].
src
;
this
.
courseSrc
=
coureWareList
[
0
].
src
;
...
@@ -277,9 +277,9 @@
...
@@ -277,9 +277,9 @@
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
if
(
res
.
data
)
{
if
(
res
.
data
)
{
debugger
//
debugger
this
.
list
=
this
.
list
.
concat
(
res
.
data
);
//
this.list = this.list.concat(res.data);
console
.
log
(
this
.
list
)
//
console.log(this.list)
}
}
}
else
{
}
else
{
//接口请求失败的处理
//接口请求失败的处理
...
...
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