suerprisePlus
2024-09-30 703703929e97b94ca1c1c5e35a578e5fe9d4cfea
src/router/index.js
@@ -79,7 +79,8 @@
        children: [
            {
                path: 'index',
                component: () => import('@/views/index'),
                // component: () => import('@/views/index'),
                component: () => import('@/views/visual/mapView/index.vue'),
                name: 'Index',
                meta: { title: '首页', icon: 'dashboard', affix: true },
            },
@@ -202,7 +203,7 @@
};
export default new Router({
    mode: 'history', // 去掉url中的#
    // mode: 'history', // 去掉url中的#
    scrollBehavior: () => ({ y: 0 }),
    routes: constantRoutes,
});