Merge pull request #1 from binbin666/Trace-View-Logs-button-query-fixed

-- fix: viewLogs button query no data
This commit is contained in:
Rancho Lee 2022-04-20 00:41:41 +08:00 committed by GitHub
commit 8c68c5c4c2
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({ const res = await traceStore.getSpanLogs({
condition: { condition: {
relatedTrace: { relatedTrace: {
traceId: traceId.value || traceStore.currentTrace.traceIds[0], traceId: traceId.value || traceStore.currentTrace.traceIds[0].value,
}, },
paging: { pageNum: pageNum.value, pageSize, needTotal: true }, paging: { pageNum: pageNum.value, pageSize, needTotal: true },
}, },