From e3fbc610e61ab2decb949a456b61047480aa7484 Mon Sep 17 00:00:00 2001
From: jiaosong <jiaosong6760@dingtalk.com>
Date: 星期三, 23 八月 2023 16:18:03 +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 c8239a7..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);
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