From c5c6fa800cedd37cea0e3cc3e68df78b47ee2813 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期一, 28 八月 2023 10:37:59 +0800
Subject: [PATCH] 111
---
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