"docs/git@developer.sourcefind.cn:OpenDAS/mmdetection3d.git" did not exist on "5f1366cef0b8d82269f762ada3d23a67205077b5"
Commit 70fb900c authored by Lijiao's avatar Lijiao Committed by xuehui
Browse files

randint range, duration less than 1 (#1151)

parent cae70729
...@@ -162,8 +162,8 @@ class Para extends React.Component<ParaProps, ParaState> { ...@@ -162,8 +162,8 @@ class Para extends React.Component<ParaProps, ParaState> {
parallelAxis.push({ parallelAxis.push({
dim: i, dim: i,
name: dimName[i], name: dimName[i],
min: searchKey._value[0] + 1, min: searchKey._value[0],
max: searchKey._value[1] - 1, max: searchKey._value[1],
}); });
break; break;
......
...@@ -263,8 +263,12 @@ class TableList extends React.Component<TableListProps, TableListState> { ...@@ -263,8 +263,12 @@ class TableList extends React.Component<TableListProps, TableListState> {
sorter: (a: TableObj, b: TableObj) => (a.duration as number) - (b.duration as number), sorter: (a: TableObj, b: TableObj) => (a.duration as number) - (b.duration as number),
render: (text: string, record: TableObj) => { render: (text: string, record: TableObj) => {
let duration; let duration;
if (record.duration !== undefined && record.duration > 0) { if (record.duration !== undefined) {
duration = convertDuration(record.duration); if (record.duration > 0 && record.duration < 1) {
duration = `${record.duration}s`;
} else {
duration = convertDuration(record.duration);
}
} else { } else {
duration = 0; duration = 0;
} }
......
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