|
|
@@ -1,4 +1,4 @@
|
|
|
-import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'
|
|
|
+import { createRouter, createWebHistory, RouteRecordRaw,createWebHashHistory } from 'vue-router'
|
|
|
|
|
|
import AuthLayout from '../layouts/AuthLayout.vue'
|
|
|
import AppLayout from '../layouts/AppLayout.vue'
|
|
|
@@ -273,7 +273,7 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
]
|
|
|
|
|
|
const router = createRouter({
|
|
|
- history: createWebHistory(import.meta.env.BASE_URL),
|
|
|
+ history: createWebHashHistory(import.meta.env.BASE_URL),
|
|
|
scrollBehavior(to, from, savedPosition) {
|
|
|
if (savedPosition) {
|
|
|
return savedPosition
|