fix: update trace query condition (#527)
diff --git a/src/views/components/trace/trace-search.vue b/src/views/components/trace/trace-search.vue
index c1322a4..57a9b8f 100644
--- a/src/views/components/trace/trace-search.vue
+++ b/src/views/components/trace/trace-search.vue
@@ -55,7 +55,7 @@
/>
<CommonSelector
:hasSearch="true"
- :title="$t('endpointName')"
+ :title="$t('endpoint')"
:value="endpoint"
@input="chooseEndpoint"
@search="searchEndpoint"
@@ -215,7 +215,7 @@
localStorage.setItem('minTraceDuration', this.minTraceDuration);
}
if (this.endpoint.key) {
- temp.endpointName = this.endpoint.label;
+ temp.endpointId = this.endpoint.key;
}
if (this.traceId) {
temp.traceId = this.traceId;