wlzboy
2025-09-24 62a079a15b46925283581f6caaf631b5a4558927
ruoyi-ui/src/router/index.js
@@ -123,6 +123,14 @@
    component: () => import('@/views/system/gps/mapNeed'),
    name: 'GpsMapNeed',
    meta: { title: '车辆轨迹', icon: 'map' }
  },
  {
    path: '/h5/task_create',
    component: () => import('@/views/task/h5/create'),
    hidden: false,
    name: 'H5TaskCreate',
    meta: { title: '创建任务' }
  }
]
@@ -227,7 +235,7 @@
}
export default new Router({
  mode: 'history', // 去掉url中的#
  mode: 'hash', // 使用hash模式,兼容性更好
  scrollBehavior: () => ({ y: 0 }),
  routes: constantRoutes
})