diff --git a/src/store/modules/continous-profiling.ts b/src/store/modules/continous-profiling.ts index e22c4c47..cd5e82f3 100644 --- a/src/store/modules/continous-profiling.ts +++ b/src/store/modules/continous-profiling.ts @@ -155,9 +155,9 @@ export const continousProfilingStore = defineStore({ this.selectedTask = {}; return; } - this.selectedTask = this.taskList[0] || {}; - this.setselectedTask(this.selectedTask); - await this.getGraphData(); + // this.selectedTask = this.taskList[0] || {}; + // this.setselectedTask(this.selectedTask); + // await this.getGraphData(); return res.data; }, async getGraphData() { diff --git a/src/views/dashboard/data.ts b/src/views/dashboard/data.ts index 74263949..0a57ebe3 100644 --- a/src/views/dashboard/data.ts +++ b/src/views/dashboard/data.ts @@ -167,6 +167,7 @@ export const EntityType = [ }, { value: "EndpointRelation", label: "Endpoint Relation", key: 4 }, { value: "ProcessRelation", label: "Process Relation", key: 5 }, + { value: "Process", label: "Process Relation", key: 3 }, ]; export const ListEntity: any = { InstanceList: EntityType[3].value, diff --git a/src/views/dashboard/related/continuous-profiling/Content.vue b/src/views/dashboard/related/continuous-profiling/Content.vue index eb19b0db..33b7d093 100644 --- a/src/views/dashboard/related/continuous-profiling/Content.vue +++ b/src/views/dashboard/related/continuous-profiling/Content.vue @@ -18,14 +18,14 @@ limitations under the License. --> - +