R5-M1-M5 收口正式审批规则与移动反馈
这个提交包含在:
@@ -11,6 +11,8 @@ import { resolveMobileEquivalentPath, shouldPreferMobileWorkplace } from "../lib
|
||||
export function AppShellLayout() {
|
||||
const location = useLocation();
|
||||
const isMobileRoute = location.pathname.startsWith("/mobile");
|
||||
const isMobileDeepRoute = /^\/mobile\/reimbursements\/[^/]+$/.test(location.pathname);
|
||||
const showMobileBottomNav = isMobileRoute && !isMobileDeepRoute;
|
||||
const mobileEquivalentPath = !isMobileRoute && shouldPreferMobileWorkplace()
|
||||
? resolveMobileEquivalentPath(location.pathname, location.search)
|
||||
: null;
|
||||
@@ -42,7 +44,7 @@ export function AppShellLayout() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{isMobileRoute ? <MobileBottomNav /> : null}
|
||||
{showMobileBottomNav ? <MobileBottomNav /> : null}
|
||||
</main>
|
||||
</div>
|
||||
);
|
||||
|
||||
在新工单中引用
屏蔽一个用户