fix trace profiling widget, select the first span by default (#179)

This commit is contained in:
Fine0830
2022-11-04 20:31:46 +08:00
committed by GitHub
parent 4b88d8bbb3
commit ae0b8c056d

View File

@@ -119,8 +119,8 @@ function updateTimeRange() {
if (!children || !children.length) {
timeRange.value = [
{
start: this.currentSpan.startTime,
end: this.currentSpan.endTime,
start: startTime,
end: endTime,
},
];
return;