From 1f7becef0a9f7fdc108242ed4d33aaac66b6ccc0 Mon Sep 17 00:00:00 2001 From: lai <371757574@qq.com> Date: Thu, 11 Jul 2024 20:24:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A8=E5=B1=80=E5=8F=98=E9=87=8F=E9=94=80?= =?UTF-8?q?=E6=AF=81=E6=97=B6=E8=BF=98=E5=8E=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dashboard/overview/hooks/useWS.ts | 1 + src/views/dashboard/overview/index.vue | 4 +++- src/views/index/tenantIndex.vue | 2 -- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/dashboard/overview/hooks/useWS.ts b/src/views/dashboard/overview/hooks/useWS.ts index 832d0bab..48d24abe 100644 --- a/src/views/dashboard/overview/hooks/useWS.ts +++ b/src/views/dashboard/overview/hooks/useWS.ts @@ -244,6 +244,7 @@ export default function useWS() { userActivityReset(); upfTotalFlowReset(); topologyReset(); + upfWhoRmUid.value=''; }); return { diff --git a/src/views/dashboard/overview/index.vue b/src/views/dashboard/overview/index.vue index fb8990ec..658544dc 100644 --- a/src/views/dashboard/overview/index.vue +++ b/src/views/dashboard/overview/index.vue @@ -25,7 +25,7 @@ import { upfTFActive, upfTotalFlowReset, } from './hooks/useUPFTotalFlow'; -import { upfWhoId, upfWhoRmUid } from './hooks/useWS'; +import { upfWhoId } from './hooks/useWS'; import { useFullscreen } from '@vueuse/core'; import useWS from './hooks/useWS'; @@ -414,6 +414,8 @@ onBeforeUnmount(() => { + +
diff --git a/src/views/index/tenantIndex.vue b/src/views/index/tenantIndex.vue index 1908409c..8ff093d3 100644 --- a/src/views/index/tenantIndex.vue +++ b/src/views/index/tenantIndex.vue @@ -5,8 +5,6 @@ import useI18n from '@/hooks/useI18n'; import UPFTEST from './tenantUPF.vue'; import MODULE from './moduleInfo.vue'; import { upfFlowData } from '../dashboard/overview/hooks/useUPFTotalFlow'; -const { t } = useI18n(); -console.log(upfFlowData.value.lineXTime.length); onMounted(() => {});