Commit 87f1ac3b authored by 李纪文's avatar 李纪文

feat: 修复historyinfo

parent 430376d4
......@@ -5,7 +5,7 @@ import Highcharts from 'highcharts/highstock';
import HighchartsReact from 'highcharts-react-official';
import { Tabs, Select, Radio, Checkbox, Table, ConfigProvider, DatePicker } from 'antd';
import { PlusCircleOutlined } from '@ant-design/icons';
import TimeRangePicker from '@wisdom-components/timerangepicker/src';
import TimeRangePicker from '@wisdom-components/timerangepicker';
import Empty from '@wisdom-components/Empty';
import moment from 'moment';
import './index.less';
......@@ -17,6 +17,7 @@ const { Option } = Select;
const UPDATE_TIME = {
UPDATE_TIME: 'updateTime',
UPDATE_BATCH_TIME: 'updateBatchTime',
UPDATE_DATA_THIN: 'updateDataThin',
};
const reducer = (state, action) => {
......@@ -36,7 +37,7 @@ const reducer = (state, action) => {
...state,
ignoreOutliers: action.payload,
};
case 'updateDataThin':
case UPDATE_TIME.UPDATE_DATA_THIN:
const { zoom, unit } = action.payload;
return {
...state,
......
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