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 |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/screen_standard/src/router/index.js b/screen_standard/src/router/index.js
index 59ce881..c756cb1 100644
--- a/screen_standard/src/router/index.js
+++ b/screen_standard/src/router/index.js
@@ -1,11 +1,12 @@
-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);
+// console.log(import.meta.env.VITE_BASE_CONTEXT);
 const router = createRouter({
   
-  history: createWebHistory(import.meta.env.VITE_BASE_CONTEXT),
+  history: createWebHashHistory(import.meta.env.VITE_BASE_CONTEXT),
+  // history: createWebHistory(import.meta.env.VITE_BASE_CONTEXT),
   routes: [
     {
       path: '/',

--
Gitblit v1.9.3