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
d5e73eca
Commit
d5e73eca
authored
Aug 06, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 【ID1001462】 【小程序-首页-学练记录】:当前月份时月份还可以切换到下个月份
parent
ccbde076
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
11 deletions
+0
-11
index.vue
src/components/calendar/index.vue
+0
-1
pages.json
src/pages.json
+0
-10
No files found.
src/components/calendar/index.vue
View file @
d5e73eca
...
@@ -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
||
...
...
src/pages.json
View file @
d5e73eca
...
@@ -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"
,
...
...
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