|
|
@@ -1,4 +1,4 @@
|
|
|
-import { createRouter, RouteRecordRaw, createWebHashHistory } from 'vue-router'
|
|
|
+import { createRouter, RouteRecordRaw, createWebHistory } from 'vue-router'
|
|
|
import { getVersionFR } from '@/utils/version'
|
|
|
import layout from '@/components/layout/index.vue'
|
|
|
declare module 'vue-router' {
|
|
|
@@ -106,7 +106,7 @@ const router = createRouter({
|
|
|
// createWebHashHistory hash 路由
|
|
|
// createWebHistory history 路由
|
|
|
// createMemoryHistory 带缓存 history 路由
|
|
|
- history: createWebHashHistory(),
|
|
|
+ history: createWebHistory(),
|
|
|
routes,
|
|
|
scrollBehavior() {
|
|
|
// 始终滚动到顶部
|