diff --git a/src/App.vue b/src/App.vue index 80172fa..41ffdd4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,6 +1,6 @@ diff --git a/src/router/index.ts b/src/router/index.ts index 569a5bb..870332b 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -76,7 +76,7 @@ export const constantRoutes: RouteOption[] = [ path: '/index', component: () => import('@/views/index.vue'), name: 'Index', - meta: { title: '首页', icon: 'dashboard', affix: true } + meta: { title: '首页', icon: 'dashboard', affix: true, noCache: true } } ] }, diff --git a/src/views/index.vue b/src/views/index.vue index 9407adb..aca5b65 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -418,9 +418,9 @@ onMounted(() => { getInterveneNumData() initChart() - }) + // import { initWebSocket } from '@/utils/websocket'; // onMounted(() => {