mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-13 16:27:33 +00:00
update options
This commit is contained in:
parent
3f195bffc4
commit
be7088c2cd
@ -184,7 +184,6 @@ const total = computed(() =>
|
||||
? pageSize * pageNum.value + 1
|
||||
: pageSize * pageNum.value
|
||||
);
|
||||
console.log(props.currentSpan);
|
||||
const visDate = (date: number, pattern = "YYYY-MM-DD HH:mm:ss") =>
|
||||
dayjs(date).format(pattern);
|
||||
|
||||
@ -243,7 +242,10 @@ function visTimeline() {
|
||||
locale: "en",
|
||||
groupHeightMode: "fitItems",
|
||||
autoResize: false,
|
||||
zoomMin: 80,
|
||||
zoomMax: 3600000,
|
||||
};
|
||||
|
||||
visGraph.value = new Timeline(timeline.value, items, options);
|
||||
visGraph.value.on("select", (data: { items: number[] }) => {
|
||||
const index = data.items[0];
|
||||
|
Loading…
Reference in New Issue
Block a user