页面上导航栏搜索栏显示不全bug

This commit is contained in:
2025-12-17 17:23:31 +08:00
parent b27542ba6d
commit 515f03a5cd
6 changed files with 1317 additions and 743 deletions

View File

@@ -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 }