diff --git a/client/src/router/index.js b/client/src/router/index.js index e68a068..f87dbcc 100644 --- a/client/src/router/index.js +++ b/client/src/router/index.js @@ -24,7 +24,7 @@ const baseRoutes = [ children: [ { path: 'index', - name: 'SviIndex', + component: () => import('@views/main/svi.vue'), meta: { title: '首页', diff --git a/client/src/views/big-screen/bigdata.vue b/client/src/views/big-screen/bigdata.vue index e0f307d..a9a82cc 100644 --- a/client/src/views/big-screen/bigdata.vue +++ b/client/src/views/big-screen/bigdata.vue @@ -10,7 +10,6 @@
-
返回首页
diff --git a/client/src/views/main/index.vue b/client/src/views/main/index.vue index 615fc30..d576318 100644 --- a/client/src/views/main/index.vue +++ b/client/src/views/main/index.vue @@ -39,7 +39,6 @@ const hashUrl = window.location.hash.slice(1) if (hashUrl && hashUrl === '/') { //route.push('/svi/index') - route.push('/big-screen') } } catch (error) { handleLogin()