From fe0ef3441cd689e3679696d990b0ca1b5d7193ac Mon Sep 17 00:00:00 2001 From: jiaosong <jiaosong6760@dingtalk.com> Date: 星期四, 24 八月 2023 14:10:39 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- 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