From 573707bd905b0b4df1a9ba0f0de554f7c079b41d Mon Sep 17 00:00:00 2001 From: zhangxiao <898441624@qq.com> Date: 星期二, 27 八月 2024 10:50:28 +0800 Subject: [PATCH] fix: 修改自适应问题 --- src/router/index.ts | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index e230a4b..b1b97ac 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'; @@ -10,6 +10,7 @@ const router = createRouter({ history: createWebHistory(), + // history: createWebHashHistory(), routes: [ { path: '/', -- Gitblit v1.8.0