-- fix: viewLogs button query no data (#70)

This commit is contained in:
Rancho Lee 2022-04-20 09:00:23 +08:00 committed by GitHub
parent be60d5c770
commit 6bfb7915bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -191,7 +191,7 @@ export default defineComponent({
const res = await traceStore.getSpanLogs({
condition: {
relatedTrace: {
traceId: traceId.value || traceStore.currentTrace.traceIds[0],
traceId: traceId.value || traceStore.currentTrace.traceIds[0].value,
},
paging: { pageNum: pageNum.value, pageSize, needTotal: true },
},