diff --git a/openhis-ui-vue3/src/layout/components/Sidebar/SidebarItem.vue b/openhis-ui-vue3/src/layout/components/Sidebar/SidebarItem.vue index d3b7bf1b..0236581e 100644 --- a/openhis-ui-vue3/src/layout/components/Sidebar/SidebarItem.vue +++ b/openhis-ui-vue3/src/layout/components/Sidebar/SidebarItem.vue @@ -85,14 +85,6 @@ function resolvePath(routePath, routeQuery) { if (isExternal(props.basePath)) { return props.basePath } - // 特殊处理门诊医生站路径,确保路径正确 - if (routePath === '/doctorstation' || routePath === 'doctorstation') { - if (routeQuery) { - let query = JSON.parse(routeQuery); - return { path: '/doctorstation', query: query } - } - return '/doctorstation' - } if (routeQuery) { let query = JSON.parse(routeQuery); return { path: getNormalPath(props.basePath + '/' + routePath), query: query } diff --git a/openhis-ui-vue3/src/layout/components/Sidebar/index.vue b/openhis-ui-vue3/src/layout/components/Sidebar/index.vue index d29294e0..4de5e776 100644 --- a/openhis-ui-vue3/src/layout/components/Sidebar/index.vue +++ b/openhis-ui-vue3/src/layout/components/Sidebar/index.vue @@ -1,13 +1,13 @@