diff --git a/src/store/modules/profile.ts b/src/store/modules/profile.ts
index 9209e395..6dc8301a 100644
--- a/src/store/modules/profile.ts
+++ b/src/store/modules/profile.ts
@@ -161,7 +161,13 @@ export const profileStore = defineStore({
this.analyzeTrees = [];
return res.data;
}
- this.segmentSpans = segment.spans;
+ this.segmentSpans = segment.spans.map((d: SegmentSpan) => {
+ return {
+ ...d,
+ segmentId: this.currentSegment.segmentId,
+ traceId: this.currentSegment.traceIds[0],
+ };
+ });
if (!(segment.spans && segment.spans.length)) {
this.analyzeTrees = [];
return res.data;
diff --git a/src/views/dashboard/related/components/LogTable/LogService.vue b/src/views/dashboard/related/components/LogTable/LogService.vue
index c91b1efe..4b40ff80 100644
--- a/src/views/dashboard/related/components/LogTable/LogService.vue
+++ b/src/views/dashboard/related/components/LogTable/LogService.vue
@@ -22,12 +22,12 @@ limitations under the License. -->
{{ tags }}
-
{{ data[item.label] }}
-
+ -->
{{ data[item.label] }}