Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
Overview
Overview
Details
Activity
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
marketing-web
marketing
Commits
a4dbf92c
Commit
a4dbf92c
authored
Jul 14, 2022
by
crushh
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bugfix/火狐时间' into master
parents
54cc66bd
f77d8c65
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
birthActiveTime.vue
src/views/ai/task/components/birthActiveTime.vue
+3
-2
No files found.
src/views/ai/task/components/birthActiveTime.vue
View file @
a4dbf92c
...
...
@@ -234,9 +234,10 @@ export default {
minTimeMonth
=
maxTimeMonth
=
null
;
}
else
{
let
year
=
new
Date
(
val
[
1
]).
getFullYear
();
let
month
=
new
Date
(
val
[
1
]).
getMonth
()
+
2
;
let
month
=
new
Date
(
val
[
1
]).
getMonth
()
+
1
;
let
days
=
[
1
,
3
,
5
,
7
,
9
].
includes
(
month
)
?
31
:
30
;
this
.
form
.
birthDate2
[
0
]
=
new
Date
(
val
[
0
]).
getMonth
()
+
1
==
new
Date
().
getMonth
()
+
1
?
this
.
currentTime
:
val
[
0
];
this
.
form
.
birthDate2
[
1
]
=
new
Date
(
`
${
year
}
/
${
month
}
/
1`
).
getTime
()
-
1
;
this
.
form
.
birthDate2
[
1
]
=
new
Date
(
`
${
year
}
/
${
month
}
/
${
days
}
23:59:59`
).
getTime
()
;
console
.
log
(
this
.
form
.
birthDate2
);
}
this
.
form
=
Object
.
assign
({},
this
.
form
);
...
...
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