|
@@ -1,4 +1,4 @@
|
|
|
-import { createWebHistory, createRouter } from "vue-router";
|
|
|
+import { createWebHashHistory, createRouter } from "vue-router";
|
|
|
/* Layout */
|
|
|
import Layout from "@/layoutMain";
|
|
|
|
|
@@ -199,9 +199,8 @@ export const dynamicRoutes = [
|
|
|
],
|
|
|
},
|
|
|
];
|
|
|
-
|
|
|
const router = createRouter({
|
|
|
- history: createWebHistory(),
|
|
|
+ history: createWebHashHistory(),
|
|
|
routes: constantRoutes,
|
|
|
scrollBehavior(to, from, savedPosition) {
|
|
|
if (savedPosition) {
|