feat: visualize attached events on the trace widget (#190)

This commit is contained in:
Fine0830
2022-11-24 11:19:25 +08:00
committed by GitHub
parent da1db8def6
commit 7d802d490e
13 changed files with 263 additions and 24 deletions

View File

@@ -175,7 +175,8 @@ export const traceStore = defineStore({
if (res.data.errors) {
return res.data;
}
this.setTraceSpans(res.data.data.trace.spans || []);
const data = res.data.data.trace.spans;
this.setTraceSpans(data || []);
return res.data;
},
async getSpanLogs(params: any) {