From ae2fad05393d2bbb94ec46712a1a717c85e766f0 Mon Sep 17 00:00:00 2001
From: Mr.Zhang <710666463@qq.com>
Date: 星期二, 22 八月 2023 19:29:01 +0800
Subject: [PATCH] 大萨达撒

---
 screen_standard/src/router/index.js |   17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/screen_standard/src/router/index.js b/screen_standard/src/router/index.js
index 6b2d945..c756cb1 100644
--- a/screen_standard/src/router/index.js
+++ b/screen_standard/src/router/index.js
@@ -1,19 +1,22 @@
-import { createRouter, createWebHistory } from 'vue-router'
+import { createRouter, createWebHashHistory } from 'vue-router'
 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);
 const router = createRouter({
-  history: createWebHistory(import.meta.env.BASE_URL),
+  
+  history: createWebHashHistory(import.meta.env.VITE_BASE_CONTEXT),
+  // history: createWebHistory(import.meta.env.VITE_BASE_CONTEXT),
   routes: [
     {
       path: '/',
       name: 'home',
-      component: HomeView
+      component: indexView
     },
     {
-      path: '/index',
-      name: 'index',
-      component: indexView
+      path: '/process',
+      name: 'process',
+      component: processView
     }
   ]
 })

--
Gitblit v1.9.3