Commit d5e73eca authored by Facius's avatar Facius

fix: 【ID1001462】 【小程序-首页-学练记录】:当前月份时月份还可以切换到下个月份

parent ccbde076
...@@ -439,7 +439,6 @@ export default { ...@@ -439,7 +439,6 @@ export default {
let overstep = false let overstep = false
let now = new Date() let now = new Date()
let mYear = this.currentMonthMax ? now.getFullYear() : this.maxYear // ture: 月和年切换不可超过本月;false: 不对月份限制,根据maxYear限制切换最大年份 let mYear = this.currentMonthMax ? now.getFullYear() : this.maxYear // ture: 月和年切换不可超过本月;false: 不对月份限制,根据maxYear限制切换最大年份
console.log(year, mYear, month, now.getMonth() + 1)
if ( if (
year < this.minYear || year < this.minYear ||
year > mYear || year > mYear ||
......
...@@ -83,16 +83,6 @@ ...@@ -83,16 +83,6 @@
"disableScroll": true "disableScroll": true
} }
}, },
{
"path": "answerBackup",
"name": "learnAnswerrBackup",
"style": {
"navigationBarTitleText": "答题-备份",
"navigationStyle": "custom",
"enablePullDownRefresh": false,
"disableScroll": true
}
},
{ {
"path": "selectCategory", "path": "selectCategory",
"name": "learnSelectCategory", "name": "learnSelectCategory",
......
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