fix: bug#12492
This commit is contained in:
parent
229bec30ed
commit
f83287ce12
|
@ -201,6 +201,7 @@ onUnmounted(() => {
|
||||||
if (ws.value) {
|
if (ws.value) {
|
||||||
ws.value.unsubscribe?.();
|
ws.value.unsubscribe?.();
|
||||||
}
|
}
|
||||||
|
clearAction()
|
||||||
})
|
})
|
||||||
|
|
||||||
const options = ref<{ label: string, value: string }[]>()
|
const options = ref<{ label: string, value: string }[]>()
|
||||||
|
|
|
@ -52,7 +52,6 @@ const cpuSocket = getWebSocket(
|
||||||
)
|
)
|
||||||
?.pipe(map((res: any) => res.payload))
|
?.pipe(map((res: any) => res.payload))
|
||||||
.subscribe((resp: any) => {
|
.subscribe((resp: any) => {
|
||||||
console.log(resp)
|
|
||||||
cpu.value = resp.value?.systemUsage || 0;
|
cpu.value = resp.value?.systemUsage || 0;
|
||||||
});
|
});
|
||||||
const jvmSocket = getWebSocket(
|
const jvmSocket = getWebSocket(
|
||||||
|
|
Loading…
Reference in New Issue