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
a0e00a05
Commit
a0e00a05
authored
Jul 28, 2021
by
Damon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 【ID1001352】【小程序-首页-错题记录/收藏的题】:无错题和无收藏的题,页面顶部文案需修改。
parent
7137244c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
answer.vue
src/pages/learn/answer.vue
+6
-1
No files found.
src/pages/learn/answer.vue
View file @
a0e00a05
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
titleColor=
"#191C27"
titleColor=
"#191C27"
:border-bottom=
"false"
:border-bottom=
"false"
:custom-back=
"customBack"
:custom-back=
"customBack"
title=
"答题
"
:title=
"title
"
title-bold
title-bold
></u-navbar>
></u-navbar>
<view
class=
"u-flex contents"
v-if=
"total > 0"
>
<view
class=
"u-flex contents"
v-if=
"total > 0"
>
...
@@ -152,6 +152,7 @@ export default {
...
@@ -152,6 +152,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
title
:
'答题'
,
show
:
false
,
show
:
false
,
// 1 练习 or 每日一练 2 考试 3 收藏记录 4 错题记录
// 1 练习 or 每日一练 2 考试 3 收藏记录 4 错题记录
type
:
1
,
type
:
1
,
...
@@ -262,6 +263,10 @@ export default {
...
@@ -262,6 +263,10 @@ export default {
this
.
$u
.
vuex
(
`lastIndex.
${
this
.
questionWarehouseId
}
`
,
0
)
this
.
$u
.
vuex
(
`lastIndex.
${
this
.
questionWarehouseId
}
`
,
0
)
this
.
$u
.
vuex
(
`questionList.
${
this
.
questionWarehouseId
}
`
,
[])
this
.
$u
.
vuex
(
`questionList.
${
this
.
questionWarehouseId
}
`
,
[])
}
}
}
else
if
(
this
.
source
===
4
)
{
this
.
title
=
'收藏的题'
}
else
if
(
this
.
source
===
5
)
{
this
.
title
=
'错题记录'
}
}
this
.
init
()
this
.
init
()
...
...
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