mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-14 00:37:33 +00:00
fix
This commit is contained in:
parent
da11f5b8ca
commit
261a8fdefb
@ -66,14 +66,16 @@ export default function associateProcessor() {
|
|||||||
function traceFilters(currentParams: any) {
|
function traceFilters(currentParams: any) {
|
||||||
const appStore = useAppStoreWithOut();
|
const appStore = useAppStoreWithOut();
|
||||||
|
|
||||||
if (!currentParams.value) {
|
if (!currentParams) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const start = appStore.intervalUnix[currentParams.value.dataIndex];
|
const start = appStore.intervalUnix[currentParams.dataIndex];
|
||||||
const end = start;
|
|
||||||
const { step } = appStore.durationRow;
|
const { step } = appStore.durationRow;
|
||||||
const item = {
|
let duration = undefined;
|
||||||
duration: {
|
|
||||||
|
if (start) {
|
||||||
|
const end = start;
|
||||||
|
duration = {
|
||||||
start: dateFormatStep(
|
start: dateFormatStep(
|
||||||
getLocalTime(appStore.utc, new Date(start)),
|
getLocalTime(appStore.utc, new Date(start)),
|
||||||
step,
|
step,
|
||||||
@ -85,7 +87,11 @@ export default function associateProcessor() {
|
|||||||
true
|
true
|
||||||
),
|
),
|
||||||
step,
|
step,
|
||||||
},
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
const item = {
|
||||||
|
duration,
|
||||||
};
|
};
|
||||||
return item;
|
return item;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user