fix: minTraceDuration and maxTraceDuration types (#295)

This commit is contained in:
Fine0830 2023-07-05 14:57:33 +08:00 committed by GitHub
parent 30a9cb1c87
commit 64293da11c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -200,8 +200,8 @@ limitations under the License. -->
traceState: Status[0].value,
queryOrder: QueryOrders[0].value,
queryDuration: duration.value,
minTraceDuration: currentLatency.value[0],
maxTraceDuration: currentLatency.value[1],
minTraceDuration: Number(currentLatency.value[0]),
maxTraceDuration: Number(currentLatency.value[1]),
tags: tagsMap.value.length ? tagsMap.value : undefined,
paging: { pageNum: 1, pageSize: 20 },
serviceId: state.service || undefined,