Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wisdom-components
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
ReactWeb5
wisdom-components
Commits
87f1ac3b
Commit
87f1ac3b
authored
Mar 24, 2021
by
李纪文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 修复historyinfo
parent
430376d4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
index.js
packages/HistoryInfo/src/index.js
+3
-2
No files found.
packages/HistoryInfo/src/index.js
View file @
87f1ac3b
...
@@ -5,7 +5,7 @@ import Highcharts from 'highcharts/highstock';
...
@@ -5,7 +5,7 @@ import Highcharts from 'highcharts/highstock';
import
HighchartsReact
from
'highcharts-react-official'
;
import
HighchartsReact
from
'highcharts-react-official'
;
import
{
Tabs
,
Select
,
Radio
,
Checkbox
,
Table
,
ConfigProvider
,
DatePicker
}
from
'antd'
;
import
{
Tabs
,
Select
,
Radio
,
Checkbox
,
Table
,
ConfigProvider
,
DatePicker
}
from
'antd'
;
import
{
PlusCircleOutlined
}
from
'@ant-design/icons'
;
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
Empty
from
'@wisdom-components/Empty'
;
import
moment
from
'moment'
;
import
moment
from
'moment'
;
import
'./index.less'
;
import
'./index.less'
;
...
@@ -17,6 +17,7 @@ const { Option } = Select;
...
@@ -17,6 +17,7 @@ const { Option } = Select;
const
UPDATE_TIME
=
{
const
UPDATE_TIME
=
{
UPDATE_TIME
:
'updateTime'
,
UPDATE_TIME
:
'updateTime'
,
UPDATE_BATCH_TIME
:
'updateBatchTime'
,
UPDATE_BATCH_TIME
:
'updateBatchTime'
,
UPDATE_DATA_THIN
:
'updateDataThin'
,
};
};
const
reducer
=
(
state
,
action
)
=>
{
const
reducer
=
(
state
,
action
)
=>
{
...
@@ -36,7 +37,7 @@ const reducer = (state, action) => {
...
@@ -36,7 +37,7 @@ const reducer = (state, action) => {
...
state
,
...
state
,
ignoreOutliers
:
action
.
payload
,
ignoreOutliers
:
action
.
payload
,
};
};
case
'updateDataThin'
:
case
UPDATE_TIME
.
UPDATE_DATA_THIN
:
const
{
zoom
,
unit
}
=
action
.
payload
;
const
{
zoom
,
unit
}
=
action
.
payload
;
return
{
return
{
...
state
,
...
state
,
...
...
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