Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
study
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
Damon
study
Commits
a597b6ff
Commit
a597b6ff
authored
Aug 02, 2021
by
Damon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 移除错题
parent
15ea1c0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
answer.vue
src/pages/learn/answer.vue
+2
-2
No files found.
src/pages/learn/answer.vue
View file @
a597b6ff
...
@@ -299,7 +299,7 @@ export default {
...
@@ -299,7 +299,7 @@ export default {
// 列表总长度,一定要在第一次请求列表数据前明确该值
// 列表总长度,一定要在第一次请求列表数据前明确该值
// 否则无法知道下一页是否还有数据
// 否则无法知道下一页是否还有数据
let
total
=
parseInt
(
res
)
||
0
let
total
=
parseInt
(
res
)
||
0
if
(
total
>
0
)
{
//
if (total > 0) {
// 考试
// 考试
if
(
this
.
type
===
2
)
{
if
(
this
.
type
===
2
)
{
this
.
pageSize
=
this
.
totalPoint
this
.
pageSize
=
this
.
totalPoint
...
@@ -315,7 +315,7 @@ export default {
...
@@ -315,7 +315,7 @@ export default {
let
index
=
let
index
=
this
.
source
===
1
?
this
.
lastIndex
[
this
.
questionWarehouseId
]
||
0
:
0
this
.
source
===
1
?
this
.
lastIndex
[
this
.
questionWarehouseId
]
||
0
:
0
this
.
refresh
(
i
?
i
:
index
)
this
.
refresh
(
i
?
i
:
index
)
}
//
}
})
})
},
},
// 切换
// 切换
...
...
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