-- fix: viewLogs button query no data

[General Service]-[Service]-[Trace]-[View Logs] button query fixed
This commit is contained in:
Rancho Lee 2022-04-20 00:39:26 +08:00 committed by GitHub
parent be60d5c770
commit cb5bdafa93
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 },
},