Commit 430376d4 authored by 李纪文's avatar 李纪文

feat: 修复historyinfo

parent 6bc74489
...@@ -121,6 +121,7 @@ ...@@ -121,6 +121,7 @@
"umi-request": "^1.3.5", "umi-request": "^1.3.5",
"umi-test": "^1.9.6", "umi-test": "^1.9.6",
"umi-types": "^0.5.11", "umi-types": "^0.5.11",
"url-loader": "^4.1.1",
"webpack": "^5.24.2", "webpack": "^5.24.2",
"webpack-bundle-analyzer": "^4.4.0", "webpack-bundle-analyzer": "^4.4.0",
"webpack-cli": "^4.5.0", "webpack-cli": "^4.5.0",
......
...@@ -16,6 +16,7 @@ const { Option } = Select; ...@@ -16,6 +16,7 @@ const { Option } = Select;
const UPDATE_TIME = { const UPDATE_TIME = {
UPDATE_TIME: 'updateTime', UPDATE_TIME: 'updateTime',
UPDATE_BATCH_TIME: 'updateBatchTime',
}; };
const reducer = (state, action) => { const reducer = (state, action) => {
...@@ -25,7 +26,7 @@ const reducer = (state, action) => { ...@@ -25,7 +26,7 @@ const reducer = (state, action) => {
...state, ...state,
dateRange: updateTime(action.payload), dateRange: updateTime(action.payload),
}; };
case 'updateBatchTime': case UPDATE_TIME.UPDATE_BATCH_TIME:
return { return {
...state, ...state,
dateRange: action.payload, dateRange: action.payload,
......
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