fix: 移除手机端进入沉浸模式按钮

This commit is contained in:
JSR
2026-03-28 09:27:55 +08:00
parent 56c2a4643c
commit 5085f56fa8
2 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -60,6 +60,7 @@ interface ContentAreaProps {
onLogout: () => void
showWindowControls: boolean
isPortraitMode: boolean
isMobileDevice: boolean
sidebarCollapsed: boolean
floatingExpand: boolean
floatingExpanded: boolean
@@ -78,6 +79,7 @@ export function ContentArea({
onLogout,
showWindowControls,
isPortraitMode,
isMobileDevice,
sidebarCollapsed,
floatingExpand,
floatingExpanded,
@@ -228,7 +230,7 @@ export function ContentArea({
}
>
<Space size="small">
{(immersiveMode || isHomePage) && (
{(immersiveMode || (isHomePage && !isMobileDevice)) && (
<Button
size="small"
type={immersiveMode ? "primary" : "default"}