diff --git a/src/components/FRuleEditor/Debug/index.vue b/src/components/FRuleEditor/Debug/index.vue index 8f381a60..a1767adb 100644 --- a/src/components/FRuleEditor/Debug/index.vue +++ b/src/components/FRuleEditor/Debug/index.vue @@ -201,6 +201,7 @@ onUnmounted(() => { if (ws.value) { ws.value.unsubscribe?.(); } + clearAction() }) const options = ref<{ label: string, value: string }[]>() diff --git a/src/views/home/components/BasicCountCard.vue b/src/views/home/components/BasicCountCard.vue index 98c7b691..6fb3c62e 100644 --- a/src/views/home/components/BasicCountCard.vue +++ b/src/views/home/components/BasicCountCard.vue @@ -52,7 +52,6 @@ const cpuSocket = getWebSocket( ) ?.pipe(map((res: any) => res.payload)) .subscribe((resp: any) => { - console.log(resp) cpu.value = resp.value?.systemUsage || 0; }); const jvmSocket = getWebSocket(