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