Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
pingan-life-index-pro
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
9b0ee30e
authored
2020-02-21 20:42:22 +0800
by
joe
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
fae0890f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
src/components/date-picker/date-picker.js
src/components/date-picker/date-picker.js
View file @
9b0ee30
...
...
@@ -145,6 +145,13 @@ export default {
let
m
=
vals
[
0
];
let
d
=
vals
[
1
];
result
[
m
]
=
[
d
];
}
else
{
let
mod
=
year
%
4
;
let
d
=
mod
==
0
||
mod
==
1
?
4
:
5
;
let
vals
=
this
.
checkWeeken
(
4
,
d
);
let
m
=
vals
[
0
];
d
=
vals
[
1
];
result
[
m
]
=
[
d
];
}
for
(
let
index
=
0
;
index
<
hkHolidayDefine
.
gl
.
length
;
index
++
)
{
...
...
@@ -607,7 +614,7 @@ export default {
},
calculateHolidays
()
{
},
checkWeeken
(
m
,
d
)
{
let
year
=
this
.
year
;
...
...
Please
register
or
sign in
to post a comment