add events type

This commit is contained in:
Fine 2024-11-26 16:30:57 +08:00
parent b6d8a2c160
commit 2236beb3ca
2 changed files with 2 additions and 6 deletions

View File

@ -121,11 +121,7 @@ export const asyncProfilingStore = defineStore({
this.analyzeTrees = [];
return res.data;
}
if (analysisResult.tip) {
this.analyzeTrees = [];
return res.data;
}
this.analyzeTrees = analysisResult.elements;
this.analyzeTrees = [analysisResult.tree];
return res.data;
},
},

View File

@ -59,7 +59,7 @@ limitations under the License. -->
);
function changeInstances(options: Option[]) {
serviceInstanceIds.value = options.map((d: Option) => d.value);
serviceInstanceIds.value = options.map((d: any) => d.id);
}
function changeEventType(options: Option[]) {