From ba2a88b235360c8bea43f1c3adc90df84f437576 Mon Sep 17 00:00:00 2001 From: jiaosong <jiaosong6760@dingtalk.com> Date: 星期三, 23 八月 2023 11:48:04 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- 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