fix: wrong formatter of some charts in monitor (#137)
* fix: wrong formatter of some charts in monitor * chore: remove useless --------- Co-authored-by: yaojiping <yaojiping@infini.ltd>
This commit is contained in:
parent
50b8112670
commit
7922a42513
|
@ -239,7 +239,7 @@ export default (props) => {
|
|||
ticks={item.ticks}
|
||||
labelFormat={getFormatter(
|
||||
item.formatType,
|
||||
fixFormat(item.formatType, item.labelFormat)
|
||||
fixFormat(item.formatType, item.tickFormat)
|
||||
)}
|
||||
tickFormat={getFormatter(
|
||||
item.formatType,
|
||||
|
@ -295,7 +295,7 @@ export default (props) => {
|
|||
xAccessor={0}
|
||||
tickFormat={getFormatter(
|
||||
item.metric.formatType,
|
||||
fixFormat(item.metric.formatType, item.metric.formatType),
|
||||
fixFormat(item.metric.formatType, item.metric.format),
|
||||
item.metric.units
|
||||
)}
|
||||
yAccessors={[1]}
|
||||
|
|
|
@ -268,7 +268,6 @@ class ClusterForm extends React.Component {
|
|||
if (!values) {
|
||||
return;
|
||||
}
|
||||
debugger
|
||||
let newVals = {
|
||||
name: values.name,
|
||||
hosts: values.hosts,
|
||||
|
|
Loading…
Reference in New Issue