Commit a30ce925 authored by Facius's avatar Facius

fix: 学练记录页面跳转位置,做题不过10道不算签到

parent f7dc9a02
......@@ -197,6 +197,9 @@ export default {
if (e && e.key) {
this.$nextTick(() => {
// setTimeout(() => {
if (e.key == 'today') {
e.key = 'total'
}
this.scrollId = 'part-' + e.key
// }, 500)
})
......@@ -222,7 +225,9 @@ export default {
.then((res) => {
this.days = []
for (var item of res) {
this.days.push(item.time.replace(/\-0/g, '\-'))
if (item.count >= 10) {
this.days.push(item.time.replace(/\-0/g, '\-'))
}
}
})
.catch((err) => {
......@@ -475,7 +480,7 @@ export default {
}
.list-view {
padding-bottom: 44rpx;
min-height: 960rpx;
min-height: 240rpx;
.list-content {
padding: 0 30rpx 20rpx 30rpx;
min-height: 44rpx;
......
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