Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
Project
Project
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
shenshaokai
jinfa-admin
Commits
8068afc2
Commit
8068afc2
authored
Dec 13, 2021
by
卢均锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: [18035] 时间通过moment转换需要number类型
parent
c9df04bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
index.tsx
src/pages/systemManage/operationLog/index.tsx
+4
-4
No files found.
src/pages/systemManage/operationLog/index.tsx
View file @
8068afc2
...
...
@@ -177,10 +177,10 @@ const OperationLog: React.FC = () => {
switch
(
typeState
)
{
case
1
:
if
(
_params
.
startDate
)
{
_params
.
startDate
=
formatTimeString
(
_params
.
startDate
,
'YYYY-MM-DD'
);
_params
.
startDate
=
formatTimeString
(
Number
(
_params
.
startDate
)
,
'YYYY-MM-DD'
);
}
if
(
_params
.
endDate
)
{
_params
.
endDate
=
formatTimeString
(
_params
.
endDate
,
'YYYY-MM-DD'
);
_params
.
endDate
=
formatTimeString
(
Number
(
_params
.
endDate
)
,
'YYYY-MM-DD'
);
}
if
(
statusState
===
1
)
{
_fetch
=
getOrderPlatformHistoryOuterPage
...
...
@@ -204,10 +204,10 @@ const OperationLog: React.FC = () => {
case
4
:
_params
.
type
=
extraState
;
if
(
_params
.
startDate
)
{
_params
.
startDate
=
formatTimeString
(
_params
.
startDate
,
'YYYY-MM-DD'
);
_params
.
startDate
=
formatTimeString
(
Number
(
_params
.
startDate
)
,
'YYYY-MM-DD'
);
}
if
(
_params
.
endDate
)
{
_params
.
endDate
=
formatTimeString
(
_params
.
endDate
,
'YYYY-MM-DD'
);
_params
.
endDate
=
formatTimeString
(
Number
(
_params
.
endDate
)
,
'YYYY-MM-DD'
);
}
if
(
statusState
===
1
)
{
_fetch
=
getMemberHistoryOuterPage
...
...
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