From 64b3ee8aebe765c668b7f04b2bc1ee9a3919bdfb Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期四, 24 八月 2023 14:31:01 +0800 Subject: [PATCH] 大屏 --- screen_standard/src/router/index.js | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/screen_standard/src/router/index.js b/screen_standard/src/router/index.js index c756cb1..afebefa 100644 --- a/screen_standard/src/router/index.js +++ b/screen_standard/src/router/index.js @@ -1,5 +1,5 @@ import { createRouter, createWebHashHistory } from 'vue-router' -import HomeView from '../views/HomeView.vue' +// import HomeView from '../views/HomeView.vue' import indexView from '../views/index.vue' import processView from '../views/process.vue' // console.log(import.meta.env.VITE_BASE_CONTEXT); @@ -10,6 +10,11 @@ routes: [ { path: '/', + redirect: '/home', + + }, + { + path: '/home', name: 'home', component: indexView }, -- Gitblit v1.9.3