From cf3eb8aade51e277d6d732e28e89f64ac3adca6d Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期三, 23 八月 2023 16:19:51 +0800
Subject: [PATCH] 大屏

---
 screen_standard/src/router/index.js |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/screen_standard/src/router/index.js b/screen_standard/src/router/index.js
index 8d7c178..c756cb1 100644
--- a/screen_standard/src/router/index.js
+++ b/screen_standard/src/router/index.js
@@ -1,10 +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);
 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: '/',

--
Gitblit v1.9.3