From 1da0bc255179f25b5227bec27833cf486cb6cb90 Mon Sep 17 00:00:00 2001 From: yinbangzhong <zhongbangyin@126.com> Date: 星期二, 10 九月 2024 19:41:40 +0800 Subject: [PATCH] agent会话 --- src/router/index.ts | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index e230a4b..0644622 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -1,4 +1,4 @@ -import { createRouter, createWebHistory } from 'vue-router'; +import { createRouter, createWebHistory,createWebHashHistory } from 'vue-router'; import NProgress from 'nprogress'; // progress bar import 'nprogress/nprogress.css'; @@ -9,7 +9,8 @@ NProgress.configure({ showSpinner: false }); // NProgress Configuration const router = createRouter({ - history: createWebHistory(), + //history: createWebHistory(), + history: createWebHashHistory(), routes: [ { path: '/', -- Gitblit v1.8.0