Commit a0e00a05 authored by Damon's avatar Damon

fix: 【ID1001352】【小程序-首页-错题记录/收藏的题】:无错题和无收藏的题,页面顶部文案需修改。

parent 7137244c
......@@ -6,7 +6,7 @@
titleColor="#191C27"
:border-bottom="false"
:custom-back="customBack"
title="答题"
:title="title"
title-bold
></u-navbar>
<view class="u-flex contents" v-if="total > 0">
......@@ -152,6 +152,7 @@ export default {
},
data() {
return {
title: '答题',
show: false,
// 1 练习 or 每日一练 2 考试 3 收藏记录 4 错题记录
type: 1,
......@@ -262,6 +263,10 @@ export default {
this.$u.vuex(`lastIndex.${this.questionWarehouseId}`, 0)
this.$u.vuex(`questionList.${this.questionWarehouseId}`, [])
}
} else if (this.source === 4) {
this.title = '收藏的题'
} else if (this.source === 5) {
this.title = '错题记录'
}
this.init()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment