diff --git a/src/store/modules/continous-profiling.ts b/src/store/modules/continous-profiling.ts
index 9e426481..c0ccb687 100644
--- a/src/store/modules/continous-profiling.ts
+++ b/src/store/modules/continous-profiling.ts
@@ -108,6 +108,11 @@ export const continousProfilingStore = defineStore({
};
});
this.setSelectedStrategy(this.strategyList[0] || {});
+ if (!this.strategyList.length) {
+ this.nodes = [];
+ this.calls = [];
+ this.taskList = [];
+ }
if (!this.selectedStrategy.type) {
return res.data;
}
@@ -116,10 +121,6 @@ export const continousProfilingStore = defineStore({
targets: [this.selectedStrategy.type],
triggerType: EBPFProfilingTriggerType.CONTINUOUS_PROFILING,
});
- if (!this.strategyList.length) {
- this.nodes = [];
- this.calls = [];
- }
return res.data;
},
async getContinousTaskList(params: {
diff --git a/src/views/dashboard/related/continuous-profiling/components/EBPFStack.vue b/src/views/dashboard/related/continuous-profiling/components/EBPFStack.vue
deleted file mode 100644
index 0854e835..00000000
--- a/src/views/dashboard/related/continuous-profiling/components/EBPFStack.vue
+++ /dev/null
@@ -1,211 +0,0 @@
-
-
-