Commit 8068afc2 authored by 卢均锐's avatar 卢均锐

fix: [18035] 时间通过moment转换需要number类型

parent c9df04bc
......@@ -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
......
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