From 3328aec7bc4cc2c090f015cba905a82d6d52870c Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期日, 19 十月 2025 10:34:29 +0800
Subject: [PATCH] fix:更新
---
ruoyi-ui/src/router/index.js | 24 +++++++++++++++++++++++-
1 files changed, 23 insertions(+), 1 deletions(-)
diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js
index bf8f5be..0a18af8 100644
--- a/ruoyi-ui/src/router/index.js
+++ b/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: '鍒涘缓浠诲姟' }
}
]
@@ -197,6 +205,20 @@
meta: { title: '淇敼鐢熸垚閰嶇疆', activeMenu: '/tool/gen' }
}
]
+ },
+ {
+ path: '/task/general-detail',
+ component: Layout,
+ hidden: true,
+ permissions: ['task:general:query'],
+ children: [
+ {
+ path: 'index/:taskId(\\d+)',
+ component: () => import('@/views/task/general/detail'),
+ name: 'TaskDetail',
+ meta: { title: '浠诲姟璇︽儏', activeMenu: '/task/general' }
+ }
+ ]
}
]
@@ -213,7 +235,7 @@
}
export default new Router({
- mode: 'history', // 鍘绘帀url涓殑#
+ mode: 'hash', // 浣跨敤hash妯″紡锛屽吋瀹规�ф洿濂�
scrollBehavior: () => ({ y: 0 }),
routes: constantRoutes
})
--
Gitblit v1.9.1