|
@@ -1,7 +1,7 @@
|
|
|
-import { createRouter, createWebHistory } from 'vue-router'
|
|
|
+import { createRouter, createWebHistory, createWebHashHistory } from 'vue-router';
|
|
|
|
|
|
const router = createRouter({
|
|
|
- history: createWebHistory(import.meta.env.BASE_URL),
|
|
|
+ history: createWebHashHistory(import.meta.env.BASE_URL),
|
|
|
routes: [
|
|
|
{
|
|
|
path: '',
|
|
@@ -13,6 +13,6 @@ const router = createRouter({
|
|
|
component: () => import('../views/DataCenterGis/DataCenterGis.vue')
|
|
|
}
|
|
|
]
|
|
|
-})
|
|
|
+});
|
|
|
|
|
|
-export default router
|
|
|
+export default router;
|